S3C72G9 Samsung semiconductor, S3C72G9 Datasheet - Page 87

no-image

S3C72G9

Manufacturer Part Number
S3C72G9
Description
The S3C72G9 single-chip CMOS microcontroller has been designed for high performance using Samsungs newest 4-bit CPU core/ SAM47 (Samsung Arrangeable M
Manufacturer
Samsung semiconductor
Datasheet
 

SMB
Operation:
Description:
Example:

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, n, 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
address ranges:
Please note that since data memory spaces differ for various devices in the SAM4 product family,
the 'n' value of the SMB instruction will also vary.
000H-01FH
020H-0FFH
n00H-nFFH
F80H-FFFH
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
Addresses
Operand
n
0
n
1
0
1
1

I/O-mapped hardware registers
Select memory bank
Working registers
Stack and general-purpose registers
General-purpose registers
0
0
Binary Code
1
0
Operation Summary
d3
1
Register Areas
d2
1
d1
0
d0
1
SMB
Operation Notation
n (n = 0-15)
   
(n = 1-14)
Bytes
Bank
15
2
0
n
(n = 1-14)
Cycles
SMB
15
2
0
n


Related parts for S3C72G9