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

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
SMB —
SMB
Operation:
Description:
Example:
5-86
Select Memory Bank
n
The SMB instruction sets the upper four bits of a 12-bit data memory address to select a specific
memory bank. The constants 0, 1, and 15 are usually used as the SMB operand to select the
corresponding memory bank. All references to data memory addresses fall within the following ad-
dress ranges:
Please note that since data memory spaces differ for various devices in the SAM47 product family,
the 'n' value of the SMB instruction will also vary.
The enable memory bank (EMB) flag must always be set to "1" in order for the SMB instruction to
execute successfully for memory banks 0–15.
If the EMB flag is set, the instruction
SMB
selects the data memory address range for bank 0 (000H–0FFH) as the working memory bank.
Format
E00H–EFFH
F80H–FFFH
000H–01FH
020H–0FFH
n00H–nFFH
Addresses
Operand
n
0
n
1
0
1
1
Working registers
Stack and general-purpose registers
General-purpose registers
Display registers
I/O-mapped hardware registers
0
0
Binary Code
1
0
Operation Summary
Select memory bank
d3
1
Register Areas
d2
1
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)
d1
0
d0
1
SMB
Operation Notation
Bytes
n (n = 0–15)
Bank
14
15
2
0
n
Cycles
SMB
14
15
2
0
n

Related parts for s3c72m9