Bitwise OR on A with B.
or
Operands
or r | or r,r' | or (rr) | or r,(rr) | or (ii+dd) | or r,(ii+dd) | or nn | or r,nnLoading...
Variants
Every form of or the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| or b | Bitwise OR on A with B. | C=0N=0P/V=PH=0ZS | 1 | 4 |
| or c | Bitwise OR on A with C. | C=0N=0P/V=PH=0ZS | 1 | 4 |
| or d | Bitwise OR on A with D. | C=0N=0P/V=PH=0ZS | 1 | 4 |
| or e | Bitwise OR on A with E. | C=0N=0P/V=PH=0ZS | 1 | 4 |
| or h | Bitwise OR on A with H. | C=0N=0P/V=PH=0ZS | 1 | 4 |
| or l | Bitwise OR on A with L. | C=0N=0P/V=PH=0ZS | 1 | 4 |
| or (hl) | Bitwise OR on A with (HL). | C=0N=0P/V=PH=0ZS | 1 | 7 |
| or a | Bitwise OR on A with A. | C=0N=0P/V=PH=0ZS | 1 | 4 |
| or ixh undocumented | Bitwise OR on A with IXH. | C=0N=0P/V=PH=0ZS | 2 | 8 |
| or ixl undocumented | Bitwise OR on A with IXL. | C=0N=0P/V=PH=0ZS | 2 | 8 |
| or (ix+dd) | Bitwise OR on A with the value pointed to by IX plus | C=0N=0P/V=PH=0ZS | 3 | 19 |
| or nn | Bitwise OR on A with | C=0N=0P/V=PH=0ZS | 2 | 7 |
| or iyh undocumented | Bitwise OR on A with IYH. | C=0N=0P/V=PH=0ZS | 2 | 8 |
| or iyl undocumented | Bitwise OR on A with IYL. | C=0N=0P/V=PH=0ZS | 2 | 8 |
| or (iy+dd) | Bitwise OR on A with the value pointed to by IY plus | C=0N=0P/V=PH=0ZS | 3 | 19 |