INSTRUCTION SET REFERENCE

Table A-6. Instruction Set (Continued)

Mnemonic

Operation

Instruction Format

POP

POP WORD. Pops the word on top of the

 

stack and places it at the destination

 

operand.

 

(DEST) (SP)

 

SP SP + 2

POP waop (110011aa) (waop)

PSW Flag Settings

Z

 

N

 

C

V

VT

ST

 

 

POPA

POP ALL. This instruction is used instead of

 

POPF, to support the eight additional

 

interrupts. It pops two words off the stack and

 

places the first word into the

 

INT_MASK1/WSR register pair and the

 

second word into the PSW/INT_MASK

 

register-pair. This instruction increments the

 

SP by 4. Interrupt calls cannot occur

 

immediately following this instruction.

 

INT_MASK1/WSR (SP)

 

SP SP + 2

 

PSW/INT_MASK (SP)

 

SP SP + 2

POPA (11110101)

PSW Flag Settings

Z

N

C

V

VT

ST

POPF

POP FLAGS. Pops the word on top of the

 

stack and places it into the PSW. Interrupt

 

calls cannot occur immediately following this

 

instruction.

 

 

 

 

 

 

 

(PSW)/INT_MASK (SP)

 

 

 

 

SP SP + 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

Z

N

C

V

VT

ST

 

 

 

 

 

 

 

 

 

 

 

 

 

POPF (11110011)

PUSH

PUSH WORD. Pushes the word operand

 

onto the stack.

 

 

 

 

 

 

SP SP – 2

 

 

 

 

 

 

(SP) (DEST)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

Z

N

C

V

VT

ST

 

 

 

— —

 

 

PUSH waop (110010aa) (waop)

A-29

Page 418
Image 418
Intel 8XC196MH, 8XC196MD, 8XC196MC manual INTMASK1/WSR ← SP, Psw/Intmask ← Sp