
SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 164
Revision 1.93
Example: Write one bit data to output port.
B0BSET
P1.3
; Set P1.3 and P4.0 to be “1”.
B0BSET
P4.0
B0BCLR
P2.3
; Set P2.3 and P5.5 to be “0”.
B0BCLR
P5.5
Example: Port bit test.
B0BTS1
P0.0
; Bit test 1 for P0.0
.
B0BTS0
P1.5
; Bit test 0 for P1.5