gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 166

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 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:
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 166 of 211
;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
Appendix A: Instruction Set

Related parts for gc80c510