DESCRIPTION OF INSTRUCTIONS

52. MOV @Rr, #data (Move immediate data to indirect address)

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

0

 

1

 

1

 

1

0

1

1

r

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Data address

 

 

I7

 

I6

 

I5

 

I4

I3

I2

I1

I0

Byte 2

Operation

: ((Rr))#data

r=0 or 1

 

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: An 8-bit immediate data value is copied to the data memory

 

 

location addressed by the register r contents.

 

Example MOV @R1, #0AAH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

Instruction code

:

0

1

1

1

0

1

1

1

Byte 1

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

1

0

1

0

1

0

1

0

Byte 2

 

 

 

Before execution Register 1

0 1 1 0 1 0 1 0

After execution Register 1

0 1 1 0 1 0 1 0

7

0

7

0

6AH

 

6AH

 

0 1 1 1 0 1 1 1

1 0 1 0 1 0 1 0

7

0

7

0

311

Page 318
Image 318
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual MOV @Rr, #data Move immediate data to indirect address, 311, 6AH