gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 99

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
ANL
ANL C, bit
ANL C, /bit
Description:
Operation:
Operation:
Encoding:
Encoding:
C, <src-bit>
Function:
Example:
MiDAS1.0 Family
Cycles:
Cycles:
Bytes:
Bytes:
Logical-AND for bit variables
If the boolean value of the source bit is a logical 0 then clear the carry flag;
otherwise leave the carry flag in its current state. 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.
Only direct addressing is allowed for the source operand.
Set the carry flag if, and only if, P1.0 = 1, ACC. 7 = 1, and OV = 0:
MOV
ANL
ANL
2
2
ANL
(C)
2
2
ANL
(C)
1
1
0
0
(C)
(C)
C, P1.0
C, ACC.7
C, /OV
0
1
(bit)
~(bit)
0
1
0 0 1 0
0 0 0 0
Page 99 of 187
; LOAD CARRY WITH INPUT PIN STATE
; AND CARRY WITH ACCUM. BIT 7
; AND WITH INVERSE OF OVERFLOW FLAG
bit address
bit address

Related parts for gc80c520a