Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual 350

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 357
Image 357

MSM80C154S/83C154S/85C154HVS

91. RLC A (Rotate accumulator and carry flag left)

7

0

Instruction code

:

0

0

1

1

0

0

1

1

Byte 1

Operation

:

Carry

Accumulator

 

 

 

 

 

 

 

C

← ← ← ← ← ← ← ←

 

 

 

 

 

7

 

 

 

 

0

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

RS0 OV F1 P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The accumulator and the carry flag are connected, and all bits

 

 

are shifted by one bit to the left. The carry flag is shifted to the

 

 

accumulator LSB (bit 0), and the accumulator MSB (bit 7) is

 

 

shifted to the carry flag.

 

 

 

 

 

Example RLC A

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

0

 

 

 

 

 

 

Instruction code

:

0 0

1 1

0 0

1 1

 

Byte 1

Before execution Accumulator

0 1 1 0 1 0 1 1

70 Carry flag

1

After execution Accumulator

1 1 0 1 0 1 1 1

70 Carry flag

0

350

Page 357
Image 357
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual 350