s3c72m9 Samsung Semiconductor, Inc., s3c72m9 Datasheet - Page 144

no-image

s3c72m9

Manufacturer Part Number
s3c72m9
Description
The S3c72m5/s3c72m7/s3c72m9 Single-chip Cmos Microcontroller Has Been Designed For High Performance Using Samsung S
Manufacturer
Samsung Semiconductor, Inc.
Datasheet
SAM47 INSTRUCTION SET
BTST —
BTST
Examples:
5-40
(Continued)
2. You can use BTST in the same way to manipulate a port pin address bit:
3. Assume that P2.2, P2.3 and P3.0–P3.3 are cleared to "0":
4. Bank 0, location 0A0H.0, is tested and (regardless of the current EMB value) BTST has the
Bit Test and Skip on True
following effect:
BP2
FLAG
BTST
RET
JP
LD
BTST
RET
INCS L
JR
EQU
BITR
LD
BTST
RET
P2.0
LABEL3
L,#0AH
P0.@L
BP2
0A0H.0
EMB
H,#0AH
@H+FLAG
; If P2.0 = "1", then skip
; If P2.0 = "0", then return
; First, P0.@0AH = P2.2
; (111100B) + 10B.10B = 0F2H.2
; If bank 0 (AH + 0H).0 = 0A0H.0 = "1", then skip
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)

Related parts for s3c72m9