beautypg.com

Rlc (hl), Operation description, Condition bits affected attributes – Zilog EZ80F916 User Manual

Page 317

background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

308

RLC (HL)

Rotate Left with Carry

Operation

Description

The (HL) operand is an 8-bit value at the memory location specified by the contents of the

multibyte register (HL). The CPU manipulates the contents of this memory location, (HL),

by rotating them left one bit position. The CPU next copies bit 7 into the Carry Flag and

into bit 0 of the memory location, (HL).

Condition Bits Affected

Attributes

S

Set if result is negative; reset otherwise.

Z

Set if result is 0; reset otherwise.

H

Reset.

P/V

Set if parity is even; reset otherwise.

N

Reset.

C

Data from bit 7 of the source.

Mnemonic Operand

ADL Mode Cycle

Opcode (hex)

RLC

(HL)

X

5

CB, 06

RLC.S

(HL)

1

6

52, CB, 06

RLC.L

(HL)

0

6

49, CB, 06

C

7

0

(HL)

This manual is related to the following products: