SAM47 INSTRUCTION SET KS57C2308/P2308/C2316/P2316
5-42
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 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 "1"