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

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
ADDRESS SPACES
EMB FLAG (EMB)
The EMB flag is used to allocate specific address locations in the RAM by modifying the upper 4 bits of 12-bit data
memory addresses. In this way, it controls the addressing mode for data memory banks 0, 1–13, 14, or 15.
When the EMB flag is "0", the data memory address space is restricted to bank 15 and addresses 000H–07FH of
memory bank 0, regardless of the SMB register contents. When the EMB flag is set to "1", the general-purpose
areas of bank 0, 1–13, 14, and 15 can be accessed by using the appropriate SMB value.
F
EMB flag settings for memory bank selection:
1. When EMB = "0":
2. When EMB = "1":
2-20
PROGRAMMING TIP — Using the EMB Flag to Select Memory Banks
SMB
LD
LD
LD
SMB
LD
LD
SMB
LD
LD
SMB
LD
LD
LD
SMB
LD
LD
SMB
LD
LD
1
A,#9H
90H,A
34H,A
0
90H,A
34H,A
15
20H,A
90H,A
1
A,#9H
90H,A
34H,A
0
90H,A
34H,A
15
20H,A
90H,A
; Non-essential instruction since EMB = "0"
; (F90H)
; (034H)
; Non-essential instruction since EMB = "0"
; (F90H)
; (034H)
; Non-essential instruction, since EMB = "0"
; (020H)
; (F90H)
; Select memory bank 1
; (190H)
; (134H)
; Select memory bank 0
; (090H)
; (034H)
; Select memory bank 15
; Program error, but assembler does not detect it
; (F90H)
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)
A, bank 1 is selected
A, bank 0 is selected
A, bank 0 is selected
A, bank 0 is selected
A, bank 1 is selected
A, bank 0 is selected
A, bank 0 is selected
A, bank 15 is selected
A, bank 15 is selected
A, bank 15 is selected
A, bank 15 is selected

Related parts for s3c72m9