Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual RR a Rotate accumulator right, 351

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 358
Image 358

DESCRIPTION OF INSTRUCTIONS

92. RR A (Rotate accumulator right)

Instruction code Operation

Number of bytes Number of cycles Flags

(PSW) Description

Example RR A

Instruction code

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

:

 

0

0

 

0

 

0

0

0

 

1

1

Byte 1

:

 

 

 

 

 

Accumulator

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

 

: 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

: 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:

 

C

 

AC

F0

RS1

RS0

OV

F1

 

P

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:All accumulator bits are shifted by one bit to the right. The LSB (bit 0) is shifted to the MSB bit position (bit 7).

7

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

:

0

0

0

0

 

0

0

1

1

Byte 1

 

 

 

 

 

 

 

 

 

 

Before execution

 

 

 

After execution

 

 

Accumulator

 

 

 

 

Accumulator

 

 

 

 

0

1

1

1

 

0

0

1

1

 

1

0

1

1

 

1

0

0

1

7

 

 

 

 

 

 

 

0

7

 

 

 

 

 

 

 

0

351

Page 358
Image 358
Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual RR a Rotate accumulator right, 351