DESCRIPTION OF INSTRUCTIONS
339
80. ORL A, Rr (Logical OR register to accumulator)
01001r2 r1 r0
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ORL A, R5
Instruction code
: Byte 1
(A)←(A) OR (Rr) r=0 thru 7:
C AC F0 RS1 RS0 OV F1 P
•
:
:
:
The logical OR between the accumulator contents and the
register r contents is determined. The result is placed in the
accumulator and the flag is updated.
:
01001101
70
Byte 1
Accumulator
00000000
70
1
1
Before execution
Accumulator
01110101
70
After execution
:
Register 5
01110101
70
Register 5
01110101
70