OUT

Writes the value of the second operand into the port given by the first operand.

Syntax

out (imm8),a
out (c),reg8

Allowed Instructions

out (imm8),a
out (c),a
out (c),b
out (c),c
out (c),d
out (c),e
out (c),h
out (c),l

out (c),0    ;Zero. Note: Undocumented

Effects

All flags preserved

Uses

T-States

r denotes 8-bit register.

A, X 11
r, (C) 12

See Also

IN,IND,INDR,INI,INIR,OUTD,OTDR,OUTI,OTIR

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.