MSM80C154S/83C154S/85C154HVS

75. MOVX A, @Rr (Move external memory addressed by register to accumulator)

 

 

7

 

 

 

 

 

 

0

 

Instruction code

:

1

1

1

0

0

0

1

r

Byte 1

Operation

: (A)((Rr))

r=0 or 1

 

 

 

 

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

RS0

OV

F1

P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: External data memory (RAM) contents addressed by the

 

 

register r contents are stored in the accumulator, and the flag is

 

 

updated.

 

 

 

 

 

 

 

Example MOVX A, @R1

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

0

 

 

 

 

 

Instruction code

:

1 1

1 0

0 0

1 1

Byte 1

 

 

 

Before execution Accumulator

0 1 1 1 1 0 1 0

70 Register 1

1 0 1 1 1 1 1 0

70 0BEH

0 0 1 0 1 0 0 0

70

After execution Accumulator

0 0 1 0 1 0 0 0

70 Register 1

1 0 1 1 1 1 1 0

70 0BEH

0 0 1 0 1 0 0 0

70

334

Page 341
Image 341
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 334