DESCRIPTION OF INSTRUCTIONS
337
78. ORL A, #data (Logical OR immediate data to accumulator)
01000100
70
Instruction code
#data
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ORL A, #5FH
Instruction code
: Byte 1
I7 I6 I5 I4 I3 I2 I1 I0
70
Byte 2
(A)←(A) OR #data:
C AC F0 RS1 RS0 OV F1 P
•
:
:
:
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.
:
01000100
70
Byte 1
Accumulator
10000100
70
2
1
01011111
70
Byte 2
Before execution
Accumulator
11011111
70
After execution
: