MSM80C154S/83C154S/85C154HVS

108. XRL A, Rr (Logical exclusive OR register to accumulator)

 

 

7

 

 

 

 

 

 

 

0

 

Instruction code

:

0

1

1

0

1

 

r2

r1

r0

Byte 1

Operation

: (A)(A) XOR (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 exclusive OR between the accumulator contents and the

 

 

register r contents is determined. The result is stored in the

 

 

accumulator and the flag is updated.

 

 

Example XRL A, R3

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

0

 

 

 

 

 

 

Instruction code

:

0 1

1 0

1 0

1 1

Byte 1

 

 

 

Before execution Accumulator

1 0 1 0 0 0 1 0

70 Register 3

0 0 1 0 0 1 0 1

70

After execution Accumulator

1 0 0 0 0 1 1 1

70 Register 3

0 0 1 0 0 1 0 1

70

368

Page 375
Image 375
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual 368