Difference between revisions of "Z80:Opcodes:INI"
From Learn @ Cemetech
Jump to navigationJump to search (Initial automated import) |
(No difference)
|
Latest revision as of 22:16, 5 February 2016
Reads the (C) port and writes the result to (HL), then increments HL and decrements B.
Contents
Syntax
INI
Effects
C is preserved, the N flag is reset. S, H and P/V are undefined. Z is set if B becomes zero after decrementing, otherwise it is reset.
Uses
T-States
16 t-states
See Also
IN,IND,INDR,INIR,OTDR,OTIR,OUT,OUTD,OUTI