beautypg.com

Zilog Z8F0130 User Manual

Page 226

background image

eZ8

CPU Core

User Manual

UM012820-0810

RLC Instruction

211

RLC

Definition

Rotate Left through Carry.

Syntax

RLC dst

Operation

Description

The destination operand contents along with the Carry (C) flag rotate left
by one bit position. The initial value of Bit 7 replaces the Carry flag, and
the initial value of the Carry flag replaces Bit 0.

Flags

C

Set if the bit rotated from the most-significant bit position was 1
(that is, Bit 7 was 1)

Z

Set if the result is zero; reset otherwise

S

Set if Bit 7 of the result is set; reset otherwise

V

Set if an arithmetic overflow occurs; reset otherwise

D

Unaffected

H

Unaffected

D7 D6 D5 D4 D3 D2 D1 D0

dst

C