Toshiba H1 Series Data Book page 215

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

Advertisement

3.9.2.4
Write-data bank register
The bank number used as write data memory is set to these registers. The following is an
example which data bank register of LOCAL-X is set to "1". When "ldw (xix), wa" instruction is
extended, the bank becomes effective at only cycle for xix address.
(Example)
ld
ld
ldw
ldw
bit Symbol
LOCALWX
Read/Write
(898H)
After reset
Function
bit Symbol
Read/Write
After reset
(899H)
BANK
LOCALX
Function
0: Disable
1: Enable
bit Symbol
LOCALWY
(89AH)
Read/Write
After reset
Function
bit Symbol
(89BH)
Read/Write
After reset
BANK
LOCALY
Function
0: Disable
1: Enable
bit Symbol
LOCALWZ
Read/Write
(89CH)
After reset
Function
bit Symbol
Read/Write
After reset
(89DH)
BANK
LOCALZ
Function
0: Disable
1: Enable
xix, 200000h
;
(localwx), 8001h
; Set Write data bank.
wa, (localwx)
; <----Insert dummy instruction that access to SFR
(xix), wa
; Write to bank1 of LOCAL-X area
LOCAL-X register for write
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 write
7
6
5
Y5
0
15
14
13
LYE
R/W
0
for
LOCAL-Z register for write
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-212
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