AF <-> AF'
EX
AF,AF'
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
---|---|---|---|---|---|---|---|---|
0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | $08 |
The 2-byte contents of the register pairs AF and AF' are exchanged. Register pair AF' consists of registers A' and F'.
None
If register pair AF contains $9900 and register pair AF' contains $5944, then upon execution of
EX AF,AF'
register pair AF contains $5944 and register pair AF' contains $9900.