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

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)
BIT SEQUENTIAL CARRIER (BSC)
The bit sequential carrier (BSC) is a 16-bit general register that can be manipulated using 1-, 4-, and 8-bit RAM
control instructions. RESET clears all BSC bit values to logic zero.
Using the BSC, you can specify sequential addresses and bit locations using 1-bit indirect addressing (memb.@L).
(Bit addressing is independent of the current EMB value.) In this way, programs can process 16-bit data by moving
the bit location sequentially and then incrementing or decrementing the value of the L register.
BSC data can also be manipulated using direct addressing. For 8-bit manipulations, the 4-bit register names BSC0
and BSC2 must be specified and the upper and lower 8 bits manipulated separately.
If the values of the L register are 0H at BSC0.@L, the address and bit location assignment is FC0H.0. If the L
register content is FH at BSC0.@L, the address and bit location assignment is FC3H.3.
F
To use the bit sequential carrier (BSC) register to output 16-bit data (5937H) to the P3.0 pin:
AGN
PROGRAMMING TIP — Using the BSC Register to Output 16-Bit Data
Name
BSC0
BSC1
BSC2
BSC3
BITS
SMB
LD
LD
LD
LD
SMB
LD
LDB
LDB
INCS
JR
RET
Address
FC0H
FC1H
FC2H
FC3H
EMB
15
EA,#37H
BSC0,EA
EA,#59H
BSC2,EA
0
L,#0H
C,BSC0.@L
P3.0,C
L
AGN
Table 2-4. BSC Register Organization
BSC0.3
BSC1.3
BSC2.3
BSC3.3
Bit 3
;
; BSC0
;
; BSC2
;
;
; P3.0
BSC0.2
BSC1.2
BSC2.2
BSC3.2
Bit 2
C
A, BSC1
A, BSC3
E
E
BSC0.1
BSC1.1
BSC2.1
BSC3.1
Bit 1
ADDRESS SPACES
BSC0.0
BSC1.0
BSC2.0
BSC3.0
Bit 0
2-17

Related parts for s3c72m9