beautypg.com

Operation, Description, Condition bits affected attributes – Zilog EZ80F916 User Manual

Page 322

background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

313

RLD

Rotate Left Decimal

Operation

A[3:0]  HL[7:4]

HL[7:4]  HL[3:0]

HL[3:0]  A[3:0]

Description

The CPU copies the contents of the low-order four bits of the memory location (HL) into

the high-order four bits of the (HL). The CPU next copies the previous contents of the

high-order four bits of the (HL) into the low-order four bits of the accumulator, A. The

CPU next copies the previous contents of the low-order four bits of the accumulator into

the low-order four bits of the (HL).

Condition Bits Affected

Attributes

S

Set if the accumulator is negative; reset otherwise.

Z

Set if the accumulator is 0; reset otherwise.

H

Reset.

P/V

Set if parity of the accumulator is even; reset otherwise.

N

Reset.

C

Not affected.

Mnemonic Operand

ADL Mode Cycle

Opcode (hex)

RLD

X

5

ED, 6F

3

7

4

0

3

7

4

0 (HL)

A

This manual is related to the following products: