gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 141

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
ORL
ORL C, bit
ORL C, /bit
Description:
Operation:
Operation:
Encoding:
Encoding:
C, <src-bit>
Function:
Example:
MiDAS1.0 Family
Cycles:
Cycles:
Bytes:
Bytes:
Logical-OR for bit variables
Set the carry flag if the Boolean value is a logical 1; leave the carry in its current
state otherwise. A slash (“/”) preceding the operand in the assembly language
indicates that the logical complement of the addressed bit is used as the source
value, but the source bit itself is not affected. No other flags are affected.
Set the carry flag if and only if P1.0 = 1, ACC. 7 = 1, or OV = 0:
MOV
ORL
ORL
2
2
ORL
(C)
2
2
ORL
(C)
0
1
1
0
(C)
(C)
C, P1.0
C, ACC.7
C, /OV
1
1
(bit)
~(bit)
1
0
0 0 1 0
0 0 0 0
Page 141 of 187
;LOAD CARRY WITH INPUT PIN P1.0
;OR CARRY WITH THE ACC.BIT 7
;OR CARRY WITH THE INVERSE OF OV.
bit address
bit address

Related parts for gc80c520a