A-35
INSTRUCTION SET REFERENCE
PUSHA PUSH ALL. This instruction is used instead of
PUSHF, to support the eight additional
interrupts. It pushes two words —
PSW/INT_MASK and INT_MASK1/WSR —
onto the stack.
This instruction clears the PSW, INT_MASK,
and INT_MASK1 registers and decrements
the SP by 4. Interrupt calls cannot occur
immediately following this instruction.
SP
← SP – 2
(SP)
← PSW/INT_MASK
PSW/INT_MASK
← 0
SP
← SP – 2
(SP)
← INT_MASK1/WSR
INT_MASK1
← 0
PUSHA
(11110100)
PSW Flag Settings
ZNCVVTST
000000
PUSHF PUSH FLAGS. Pushes the PSW onto the top
of the stack, then clears it. Clearing the PSW
disables interrupt servicing. Interrupt calls
cannot occur immediately following this
instruction.
SP
← SP – 2
(SP)
← PSW/INT_MASK
PSW/INT_MASK
← 0
PUSHF
(11110010)
PSW Flag Settings
ZNCVVTST
000000
RET RETURN FROM SUBROUTINE. Pops the
PC off the top of the stack.
64-Kbyte mode: 1-Mbyte mode:
PC
← (SP) PC ← (SP)
SP
← SP + 2 SP ← SP + 4
RET
(11110000)
PSW Flag Settings
ZNCVVTST
——————
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format