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

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
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)
F
1. Set the carry flag to logic one:
2. Logical-AND bit 3 of address 3FH with P3.3 and output the result to P5.0:
PROGRAMMING TIP — Using the Carry Flag as a 1-Bit Accumulator
SCF
LD
LD
ADC
LD
LDB
BAND
LDB
EA,#0C3H
HL,#0AAH
EA,HL
H,#3H
C,@H+0FH.3
C,P3.3
P5.0,C
; C
; EA
; HL
; EA
; Set the upper four bits of the address to the H register
; value
; C
; C
; Output result from carry flag to P5.0
1
bit 3 of 3FH
C AND P3.3
#0AAH
#0C3H + #0AAH + #1H, C
#0C3H
ADDRESS SPACES
1
2-23

Related parts for s3c72m9