Zilog Z86193 User Manual

Page 229

Advertising
background image

Z8

®

CPU

User Manual

UM001604-0108

Instruction Description

222

of the operand. For example, if Working Register R12 (CH) is the destination operand, then

ECh

is used as the destination operand in the Op Code.

Example 1

If the C Flag is reset and Register C6 contains

8Fh

(

10001111b

), the statement:

RLC C6

Op Code: 10 C6

leaves Register C6 with the value

1Eh

(

00011110b

). The C and V Flags are set, and S and

Z Flags are cleared.

Example 2

If the C Flag is reset, Working Register R4 contains

C6h

, and Register C6 contains

8Fh

(

10001111b

), the statement:

RLC @R4

Op Code: 11 E4

leaves Register C6 with the value

1Eh

(

00011110b

). The C and V Flags are set, and S and

Z Flags are cleared.

E

dst

Advertising