eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
269
OUT (n), A
Output to I/O
Operation
({UU, A, n}) ← A
Description
The
n
operand is placed on the lower byte of the address bus, ADDR[7:0]. The CPU
places the contents of the accumulator, A, onto the middle byte of the address bus,
ADDR[15:8]. The upper byte of the address bus, ADDR[23:16] is undefined for I/O
addresses. The CPU next outputs the contents of the accumulator to this I/O address.
Condition Bits Affected
None.
Attributes
Mnemonic Operand ADL Mode Cycle Opcode (hex)
OUT (n),A X 3 D3, nn