or

Operands

or r | or r,r' | or (rr) | or r,(rr) | or (ii+dd) | or r,(ii+dd) | or nn | or r,nn

Bitwise OR on A with B.

Loading...

Variants

Every form of or the assembler accepts. The cycles column counts clock cycles, written as taken/not taken for the conditional forms.

InstructionDescriptionFlagsBytesCycles
or b

Bitwise OR on A with B.

C=0N=0P/V=PH=0ZS14
or c

Bitwise OR on A with C.

C=0N=0P/V=PH=0ZS14
or d

Bitwise OR on A with D.

C=0N=0P/V=PH=0ZS14
or e

Bitwise OR on A with E.

C=0N=0P/V=PH=0ZS14
or h

Bitwise OR on A with H.

C=0N=0P/V=PH=0ZS14
or l

Bitwise OR on A with L.

C=0N=0P/V=PH=0ZS14
or (hl)

Bitwise OR on A with (HL).

C=0N=0P/V=PH=0ZS17
or a

Bitwise OR on A with A.

C=0N=0P/V=PH=0ZS14
or ixh undocumented

Bitwise OR on A with IXH.

C=0N=0P/V=PH=0ZS28
or ixl undocumented

Bitwise OR on A with IXL.

C=0N=0P/V=PH=0ZS28
or (ix+dd)

Bitwise OR on A with the value pointed to by IX plus dd.

C=0N=0P/V=PH=0ZS319
or nn

Bitwise OR on A with nn.

C=0N=0P/V=PH=0ZS27
or iyh undocumented

Bitwise OR on A with IYH.

C=0N=0P/V=PH=0ZS28
or iyl undocumented

Bitwise OR on A with IYL.

C=0N=0P/V=PH=0ZS28
or (iy+dd)

Bitwise OR on A with the value pointed to by IY plus dd.

C=0N=0P/V=PH=0ZS319