MSM80C154S/83C154S/85C154HVS

110. XRL data address, #data (Logical exclusive OR immediate data to memory)

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

0

 

1

 

1

 

0

0

0

1

1

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Data address

 

a7

a6

a5

a4

a3

a2

a1

a0

Byte 2

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

#data

 

 

I7

 

I6

 

I5

 

I4

I3

I2

I1

I0

Byte 3

Operation

: (data address)(data address) XOR #data

 

Number of bytes

: 3

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The exclusive OR between an immediate data value and the

 

 

specified data address contents is determined. The result is

 

 

placed in the specified data address.

 

 

Example XRL ACC, #5AH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

Instruction code

:

0

1

1

0

0

0

1

1

Byte 1

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

1

1

1

0

0

0

0

0

Byte 2

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

0

1

0

1

1

0

1

0

Byte 3

 

 

 

Before execution Accumulator

1 1 1 1 1 0 1 0

70

After execution Accumulator

1 0 1 0 0 0 0 0

70

370

Page 377
Image 377
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 370