Download Print this page

ZiLOG Z80380 User Manual page 162

Advertisement

Z
ILOG
OUTDW
OUTPUT AND DECREMENT (WORD)
OUTDW
Operation:
BC(15-0)
(DE)
HL
This instruction is used for block output of strings of data. During the I/O transaction the 32-
bit DE register is placed on the address bus.
First the BC register, used as a counter, is decremented by one. The word of data from the
memory location addressed by the HL register is loaded into the selected peripheral. The
HL register is then decremented by two, thus moving the pointer to the next source for the
output.
S:
Unaffected
Flags:
Z:
Set if the result of decrementing BC is zero; cleared otherwise
H:
Unaffected
V:
Unaffected
N:
Set
C:
Unaffected
Addressing
Mode
Syntax
OUTDW
5-128
← BC(15-0) - 1
← (HL)
← HL - 2
Instruction Format
11101101 11101011
Execute
Time
2+r+o
Z380
U
'
M
SER
S
ANUAL
Note
DC-8297-03

Advertisement

loading
Need help?

Need help?

Do you have a question about the Z80380 and is the answer not in the manual?

Questions and answers