TMP92CF30
2009-06-12
92CF30-178
3.9.2.2
Read-Data Bank Registers
These registers should be loaded with bank number values to specify the banks to be
used as read-data memory. The following example shows how to specify bank 1 for storing
read data in the LOCAL-X area. The instruction, “ldw wa, (xix),”reads the data from the
memory location at the address xix and stores it into the wa register of the CPU. When
loading the address xix into the read-data bank register, the bank is only enabled upon a
data (operand) read operation for the memory location at the address xix.
(Example)
ld
xix,
200000h ;
ld
(localrx), 8001h
;
Specify the read-data bank number.
ldw
wa,
(localrx) ;
←
Insert a dummy instruction that accesses SFR
ldw
wa, (xix)
;
Read bank 1 of the LOCAL-X area
LOCAL-X Register for Read Data
7 6 5 4 3 2 1 0
Bit Symbol
X7 X6 X5 X4 X3 X2 X1 X0
Read/Write
R/W
Reset State
0 0 0 0 0 0 0 0
Function
Specify the bank number for the LOCAL-X area
(Since bank 0 is overlapping with the COMMON area, this filed must not be specified as 0.)
LOCALRX
(0890H)
15
14
13
12
11
10 9 8
Bit Symbol
LXE
X8
Read/Write
R/W
R/W
(0891H)
Reset State
0 0
Function
Bank
for
LOCAL-X
0: Disable
1: Enable
Specify the bank number for the LOCAL-X area
Settings of the X8 through X0 bits and their corresponding chip select signals
000000000 to 011111111 CSXA
100000000 to 111111111 CSXB
LOCAL-Y Register for Read Data
7 6 5 4 3 2 1 0
Bit Symbol
Y5 Y4 Y3 Y2 Y1 Y0
Read/Write
R/W
Reset State
0 0 0 0 0 0
Function
Specify the bank number for the LOCAL-Y area
(Since bank 3 is overlapping with the COMMON area, this filed must not be
specified as 3.)
LOCALRY
(0892H)
15 14 13 12 11 10 9 8
Bit Symbol
LYE
Read/Write
R/W
(0893H)
Reset State
0
Function
Bank
for
LOCAL-Y
0: Disable
1: Enable
Summary of Contents for TLCS-900/H1 Series
Page 652: ...TMP92CF30 2009 06 12 92CF30 650 ...