16 bit Assembly

Home   Site Map   Instruction Index  


PUSH   - Stack Retrieval Instruction

The PUSH instructions are used to store the registers in the stack.
PUSH has 2 parts, the Instruction and an operand which can be either a Register, 16 bit immediate value, or a 16 bit memory address.

PUSHA has 1 part, the Instruction. It saves all the arithmetic Registers in the stack in the following sequence. AX, CX, DX, BX, SP, BP, SI, DI.

PUSHF has 1 part, the Instruction. It saves the Flags Register on the stack.

All other PUSH instructions save the register selected by the operand.

Stack items are retrieved using the POP instruction.

Instruction   Code
PUSHF9C
PUSHA60
PUSH AX50
PUSH CX51
PUSH DX52
PUSH BX53
PUSH SP54
PUSH BP55
PUSH SI56
PUSH DI57
PUSH ES06
PUSH SS16
PUSH CS0E
PUSH DS1E
PUSH FS0F A0
PUSH GS0F A8
PUSH 0x030368 03 00
PUSH [BX]FF 37
PUSH [BX+2]FF 77 02




Last Update 06/02/2023