Otirx, Operation, Description – Zilog EZ80F916 User Manual

Page 276: Condition bits affected attributes

Advertising
background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

267

OTIRX

Output to I/O and Increment Memory Address with Stationary I/O Address

Operation

repeat {

{UU, DE[15:0]}  (HL) 

BC  BC – 1

HL  HL+ 1

} while BC  0

Description

The CPU loads the contents of the memory location specified by the multibyte HL register

into CPU memory. The CPU next loads the contents of this byte to the I/O address {UU,

DE[15:0]}. The upper byte of I/O addresses is undefined. The BC register decrements.

The HL register increments. The Z Flag is set to 1 if the BC register decrements to 0. The

instruction repeats until the BC register equals 0.

Condition Bits Affected

Attributes

This instruction is not supported on eZ80190 device.

S

Not affected.

Z

Set of BC – 1 = 0; reset otherwise.

H

Not affected.

P/V

Not affected.

N

Set if msb of data is logical 1; reset otherwise.

C

Not affected.

Mnemonic Operand

ADL Mode Cycle

Opcode (hex)

OTIRX

X

2

+

3

*

BC

ED, C3

OTIRX.S

1

3

+

3

*

BC

52, ED, C3

OTIRX.L

0

3

+

3

*

BC

49, ED, C3

Note:

Advertising
This manual is related to the following products: