MSM80C154S/83C154S/85C154HVS

57. MOV A, Rr (Move register to accumulator)

 

 

 

7

 

 

 

 

 

 

0

 

Instruction code

:

 

1

1

1

0

1

r2

r1

r0

Byte 1

Operation

: (A)(Rr) r=0 thru 7

 

 

 

 

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The register r contents are copied to the accumulator, and the

 

 

flag is updated.

 

 

 

 

 

 

Example MOV A, R6

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

0

 

 

 

 

 

Instruction code

:

1

1

1 0

1 1

1 0

Byte 1

 

 

 

Before execution Register 6

1 0 1 0 0 1 0 1

70 Accumulator

0 0 0 0 1 0 1 1

70

After execution Register 6

1 0 1 0 0 1 0 1

70 Accumulator

1 0 1 0 0 1 0 1

70

316

Page 323
Image 323
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 316