MSM80C154S/83C154S/85C154HVS

79. ORL A, @Rr (Logical OR indirect address to accumulator)

 

 

7

 

 

 

 

 

 

0

 

Instruction code

:

0

1

0

0

0

1

1

r

Byte 1

Operation

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

 

 

memory location contents addressed by the register r contents

 

 

is determined. The result is placed in the accumulator and the

 

 

flag is updated.

 

 

 

 

 

 

Example ORL A, @R0

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

0

 

 

 

 

 

Instruction code

:

0 1

0 0

0 1

1 0

Byte 1

 

 

 

Before execution Accumulator

0 0 0 1 1 0 0 0

70 Register 0

0 1 1 0 1 1 0 1

70 6DH

1 0 1 0 0 1 1 1

70

After execution Accumulator

1 0 1 1 1 1 1 1

70 Register 0

0 1 1 0 1 1 0 1

70 6DH

1 0 1 0 0 1 1 1

70

338

Page 345
Image 345
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual 338, RS1