MSM80C154S/83C154S/85C154HVS

106. XRL A, #data (Logical exclusive OR immediate data to accumulator)

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

0

1

1

0

 

 

0

1

0

 

0

Byte 1

 

 

7

 

 

 

 

 

 

 

 

 

0

 

#data

 

I7

I6

I5

I4

 

 

I3

I2

I1

I0

Byte 2

Operation

: (A)(A) XOR #data

 

 

 

 

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

 

 

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The exclusive OR operation is executed between an immediate

 

 

data value and the accumulator contents. The result is placed in

 

 

the accumulator, and the flag is updated.

 

 

Example XRL A, #15H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

0

 

 

 

 

 

 

 

 

Instruction code

:

0

1

1

0

 

0

1

0

0

Byte 1

7

 

 

 

 

 

 

 

0

 

0

0

0

1

 

0

1

0

1

Byte 2

Before execution Accumulator

0

1

0

0

 

1

0

1

0

70

After execution Accumulator

0

1

0

1

 

1

1

1

1

70

366

Page 373
Image 373
Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual 366