SAM47 INSTRUCTION SET
BTSTZ
— Bit Test and Skip on True; Clear Bit
BTSTZ
(Continued)
Examples:
3. Bank 0, location 0A0H.0, is tested and EMB = "0":
FLAG EQU
5-42
0A0H.0
•
•
•
BITR
EMB
•
•
•
LD
H,#0AH
BTSTZ
@H+FLAG ; If bank 0 (AH + 0H).0 = 0A0H.0 = "1", clear and skip
BITS
@H+FLAG ; If 0A0H.0 = "0", then 0A0H.0
KS57C2308/P2308/C2316/P2316
"1"