Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->ORL

ORL    Bitwise Logical OR <destination>,<source>

ORL performs a bitwise logical OR between the source and destination variable and stores the result in the destination variable.

Formats:
    
DescriptionMnemonicBytesCycles
    
aOr Immediate Data:ORL A,#<data>21
bOr Indirect Address:ORL A,@Ri11
cOr Register:ORL A,Rn11
dOr Memory:ORL A,<direct address>21
eOr Carry Flag:ORL C,<bit address>22
fOr Complement of Carry Flag:ORL C,/<bit addresss>22
gOr Immediate to memory:ORL <direct address>,#<data>32
hOr Accumulator to memory:ORL <direct address>,A21
    

where Ri is R0 or R1 and Rn is R0 - R7 and '/' means logical complement of address bit.
    
PSW:CACF0RS1RS0OVP
a-dN/AN/AN/AN/AN/AN/A*
e,f*N/AN/AN/AN/AN/AN/A
g,hN/AN/AN/AN/AN/AN/AN/A
(N/A: Not affected)