CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.63OR (OR Byte Data of Accumulator and Memory to Accumulator)
Carry out the logical OR on AL and EA memory (memory expressed in each type of addressing) for every bit and return the results to AL. The contents of AH are not changed.
■OR (OR Byte Data of Accumulator and Memory to Accumulator)
Operation
(AL) ← (AL)∨ (EA) (byte logical OR)
Assembler format
OR A, EA
Condition code (CCR)
N | Z | V | C |
|
|
|
|
+ | + | R | - |
|
|
|
|
+: Changed by executing instruction
R: Set to 0 by executing instruction
N:Set to 1 if the MSB of AL is 1 as the result of operation and set to 0 in other cases.
Z:Set to 1 if the result of operation is 00H and set to 0 in other cases.
V:Always set to 0
C:Not changed
Table 6.63-1 Number of Execution Cycles / Byte Count / OP Code
EA | #d8 | dir | @IX+off | @EP | Ri | |
|
|
|
|
|
| |
Number of | 2 | 3 | 3 | 2 | 2 | |
execution cycles | ||||||
|
|
|
|
| ||
|
|
|
|
|
| |
Byte count | 2 | 2 | 2 | 1 | 1 | |
|
|
|
|
|
| |
OP code | 74 | 75 | 76 | 77 | 78 to 7F | |
|
|
|
|
|
|
172