PUSH
Copies the operand into (SP), then increments SP by 2.
Syntax
push reg16
Allowed Instructions
push af
push bc
push de
push hl
push ix
push iy
Effects
Flags are unaffected.
Uses
Used for saving register values onto the stack. Also used when you want to load a 16-bit register into another 16-bit register (the LD instruction won't work for this).
T-States
rr represents a two byte register pair: BC, DE, HL, SP
rr | 11 |
ix | 15 |
iy | 15 |
See Also
page revision: 6, last edited: 31 Oct 2014 13:03