S3C72G9 Samsung semiconductor, S3C72G9 Datasheet - Page 41

no-image

S3C72G9

Manufacturer Part Number
S3C72G9
Description
The S3C72G9 single-chip CMOS microcontroller has been designed for high performance using Samsungs newest 4-bit CPU core/ SAM47 (Samsung Arrangeable M
Manufacturer
Samsung semiconductor
Datasheet
 
 
BTST
Examples:
(Continued)
2. You can use BTST in the same way to test a port pin address bit:
3. P0.2, P0.3 and P1.0-P1.3 are tested:
4. Bank 0, location 0A0H.0, is tested and (regardless of the current EMB value) BTST has the
BP2
following effect:
FLAG
BTST
RET
JP
LD
BTST
RET
INCS
CPSE
JR
EQU



BITR



LD
BTST
RET



LABEL3
L,#2H
L
BP2
EMB
H,#0AH
P1.0
P0.@L
L,#8H
0A0H.0
@H+FLAG

; If P1.0 = "1", then skip
; If P1.0 = "0", then return
; First, P0.@02H = P0.2
; (111100B) + 00B.10B = 0F0H.2
; If bank 0 (AH + 0H).0 = 0A0H.0 = "1", then skip
   
 

Related parts for S3C72G9