DESCRIPTION OF INSTRUCTIONS

109. XRL A, data address (Logical exclusive OR memory to accumulator)

 

 

 

7

 

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

0

 

1

 

1

 

0

0

 

1

0

1

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

 

0

 

Data address

 

a7

a6

a5

a4

a3 a2 a1

a0

Byte 2

Operation

: (A)(A) XOR (data address)

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The exclusive OR between the accumulator contents and the

 

 

specified data address contents is determined. The result is

 

 

placed in the accumulator and the flag is updated.

Example XRL A, 70H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

Instruction code

:

0

1

1

0

0

1

0

1

Byte 1

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

0

1

1

1

0

0

0

0

Byte 2

 

 

 

Before execution Accumulator

1 1 1 1 0 1 1 0

70

70H

0 0 1 0 1 1 1 1

70

After execution Accumulator

1 1 0 1 1 0 0 1

70

70H

0 0 1 0 1 1 1 1

70

369

Page 376
Image 376
Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual 369