Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 367

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 374
Image 374

DESCRIPTION OF INSTRUCTIONS

107. XRL A, @Rr (Logical exclusive OR indirect address to accumulator)

 

 

7

 

 

 

 

 

 

 

0

 

Instruction code

:

0

1

1

0

0

 

1

1

r

Byte 1

Operation

: (A)(A) XOR ((Rr)) r=0 or 1

 

 

 

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

RS0

OV

F1

P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The exclusive OR operation is executed between the

 

 

accumulator contents and the data memory location contents

 

 

addressed by the register r contents. The result is placed in the

 

 

accumulator, and the flag is updated.

 

 

Example XRL A, @R1

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

0

 

 

 

 

 

 

Instruction code

:

0 1

1 0

0 1

1 1

Byte 1

 

 

 

Before execution Accumulator

0 1 0 0 1 0 0 1

70 Register 1

0 0 1 1 0 1 1 0

70

36H

1 0 0 1 0 0 0 1

70

After execution Accumulator

1 1 0 1 1 0 0 0

70 Register 1

0 0 1 1 0 1 1 0

70

36H

1 0 0 1 0 0 0 1

70

367

Page 374
Image 374
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 367