
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
123
EX AF, AF′
Operation
AF ↔ AF'
Op Code
EX
Operands
AF, AF′
Description
The 2-byte contents of the register pairs AF and AF' are exchanged. Register pair AF con-
sists of registers A′ and F′.
Condition Bits Affected
None.
Example
If register pair AF contains 9900h and register pair AF′ contains 5944h, the contents of
AF are
5944h and the contents of AF′ are 9900h upon execution of the EX AF, AF′
instruction.
M Cycles T States 4 MHz E.T.
141.00
Comentarios a estos manuales