MSM80C154S/83C154S/85C154HVS

63. MOV Rr, data address (Move memory to register)

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Instruction code

:

 

1

 

 

0

 

 

1

0

 

1

 

 

r2

 

 

r1

 

 

r0

 

 

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Data address

 

a7

a6

a5

a4

a3

a2

 

 

a1

 

 

a0

 

 

Byte 2

Operation

: (Rr)(data address)

r=0 thru 7

 

 

 

 

 

 

 

 

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

 

 

F1

 

 

P

 

 

 

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The specified data address contents are copied to the register r.

Example MOV R0, 5AH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction code

:

1

0

 

1

0

 

1

0

0

0

Byte 1

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1 0 1

1 0 1

0

Byte 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Before execution

 

 

 

 

After execution

 

 

 

 

Register 0

 

 

 

 

 

 

Register 0

 

 

 

 

 

 

 

 

 

0

1

 

1

1

 

1

0

1

1

 

1

0

1

0

 

 

1

0

1

0

 

 

7

 

 

 

 

 

 

 

 

0

7

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

5AH

 

 

 

 

 

 

 

 

 

5AH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

 

1

0

 

1

0

1

0

 

1

0

1

0

 

 

1

0

1

0

 

 

7

 

 

 

 

 

 

 

 

0

7

 

 

 

 

 

 

 

 

 

 

 

0

 

322

Page 329
Image 329
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 322, 5AH