Intel 8XC196MC User Manual page 419

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
Mnemonic
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
SP
SP – 2
(SP)
INT_MASK1/WSR
INT_MASK1
Z
0
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
Z
0
RET
RETURN FROM SUBROUTINE. Pops the
PC off the top of the stack.
PC
(SP)
SP
SP + 2
Z
A-30
Table A-6. Instruction Set (Continued)
Operation
0
0
PSW Flag Settings
N
C
V
VT
ST
0
0
0
0
0
0
PSW Flag Settings
N
C
V
VT
ST
0
0
0
0
0
PSW Flag Settings
N
C
V
VT
ST
Get other manuals https://www.bkmanuals.com
Instruction Format
PUSHA
(11110100)
PUSHF
(11110010)
RET
(11110000)

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents