THE 80286 INSTRUCTION SET

PUSHA-Push All General Registers

Opcode

Instruction

Clocks

Description

60

PUSHA

17

Push in order: AX,CX,DX,8X,original

 

 

 

SP,8P,SI,DI

FLAGS MODIFIED

None

FLAGS UNDEFINED

None

OPERATION

PUSHA saves the registers noted above on the 80286 stack. The stack pointer SP is-decremented by 16 to hold the 8 word values. Since the registers are pushed onto the stack in the order in which they were given, they will appear in the 16 new stack bytes in the reverse order. The last register pushed is DI.

PROTECTED MODE EXCEPTIONS

#SS(O) if the starting or ending address is outside the stack segment limit.

REAL ADDRESS MODE EXCEPTIONS

The 80286 will shut down if SP = 1, 3, or 5 before executing PUSHA. If SP = 7, 9, 11, 13, or 15, exception 13 will occur.

8-88

Page 298
Image 298
Intel 80287, 80286 manual PUSHA-Push All General Registers