gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 126

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 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:
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 126 of 211
; LOAD CARRY WITH INPUT PIN STATE
; AND CARRY WITH ACCUM. BIT 7
; AND WITH INVERSE OF OVERFLOW FLAG
bit address
bit address
Appendix A: Instruction Set

Related parts for gc80c510