Instruction Reference Manual 43
Description
Exchanges the byte in H with the data whose address is the data in SP plus 1; and exchanges the byte in L
withthedatawhoseaddressisthedatainSP.
EX (SP),HL
Opcode Instruction Clocks Operation
ED 54 EX (SP),HL 15 (2,2,1,2,2,3,3) H <−> (SP+1); L <−> (SP)
Flags ALTD I/O
S Z L/V C F R SP S D
- - - - •