Toshiba H1 Series Data Book page 214

32bit micro controller tlcs-900/h1 series
Table of Contents

Advertisement

3.9.2.3
Read-data bank register
The bank number used as read-data memory is set to these registers. The following is an
example which read data bank register of LOCAL-X is set to "1". When "ldw wa, (xix)"
instruction is executed, the bank becomes effective at only read data (operand) for xix address.
(Example)
ld
ld
ldw
ldw
bit Symbol
LOCALRX
Read/Write
(890H)
After reset
Function
bit Symbol
Read/Write
(891H)
After reset
BANK
LOCALX
Function
0: Disable
1: Enable
bit Symbol
LOCALRY
Read/Write
(892H)
After reset
Function
bit Symbol
(893H)
Read/Write
After reset
BANK
LOCALY
Function
0: Disable
1: Enable
bit Symbol
LOCALRZ
Read/Write
(894H)
After reset
Function
bit Symbol
Read/Write
(895H)
After reset
BANK
LOCALZ
Function
0: Disable
1: Enable
xix, 200000h
;
(localrx), 8001h
; Set Read data bank.
wa,(localrx)
; <----Insert dummy instruction that access to SFR
wa, (xix)
; Read bank1 of LOCAL-X area
LOCAL-X register for read
7
6
5
X7
X6
X5
0
0
0
Set BANK number for LOCAL-X ("0" is disabled because of overlapped with Common-area.)
15
14
13
LXE
R/W
0
for
LOCAL-Y register for read
7
6
5
Y5
0
15
14
13
LYE
R/W
0
for
LOCAL-Z register for read
7
6
5
Z7
Z6
Z5
0
0
0
Set BANK number for LOCAL-Z ("3" is disabled because of overlapped with Common-area.)
15
14
13
LZE
R/W
0
for
000000000 to 001111111 CSZA
010000000 to 011111111 CSZB
92CZ26A-211
4
3
X4
X3
R/W
0
0
12
11
Set BANK number for LOCAL-X
X8-X0 setting and CS
000000000 to 011111111 CSXA
100000000 to 111111111 CSXB
4
3
Y4
Y3
R/W
0
0
Set BANK number for LOCAL-Y
("3" is disabled because of overlapped with Common-area.)
12
11
4
3
Z4
Z3
R/W
0
0
12
11
Set BANK number for LOCAL-Z
Z8-Z0 setting and CS
100000000 to 101111111 CSZC
110000000 to 111111111 CSZD
TMP92CZ26A
2
1
0
X2
X1
X0
0
0
0
10
9
8
X8
R/W
0
2
1
0
Y2
Y1
Y0
0
0
0
10
9
8
2
1
0
Z2
Z1
Z0
0
0
0
10
9
8
Z8
R/W
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents