DESCRIPTION OF INSTRUCTIONS

78. ORL A, #data (Logical OR immediate data to accumulator)

 

 

7

 

 

 

 

 

 

 

 

0

 

Instruction code

:

0

1

0

0

 

 

0

1

0

0

Byte 1

 

 

7

 

 

 

 

 

 

 

 

0

 

#data

 

I7

I6

I5

I4

 

 

I3

I2

I1

I0

Byte 2

Operation

: (A)(A) OR #data

 

 

 

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

 

 

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The logical OR between an 8-bit immediate data value and the

 

 

accumulator contents is determined. The result is placed in the

 

 

accumulator and the flag is updated.

 

 

Example ORL A, #5FH

 

 

 

 

 

 

 

 

 

 

 

 

Instruction code

:

7

 

 

 

 

 

 

 

0

 

0

1

0

0

 

0

1

0

0

Byte 1

7

 

 

 

 

 

 

 

0

 

0

1

0

1

 

1

1

1

1

Byte 2

Before execution Accumulator

1

0

0

0

 

0

1

0

0

70

After execution Accumulator

1

1

0

1

 

1

1

1

1

70

337

Page 344
Image 344
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual ORL A, #data Logical or immediate data to accumulator, 337