Download Print this page

Toshiba TLCS-900/H1 Series Manual page 155

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

(3) Read data bank register
The bank register number used as read data memory is set to these registers. The
following is an example where the read data bank register of LOCAL-X is set to "1". When
"ld wa, (xix)" instruction is executed, the bank becomes effective only at the read cycle for
xix address.
(Example)
SFR
LOCALRX
Bit symbol
(01D8H)
Read/Write
Reset State
Function
Bank for
LOCAL-X
0: Disable
1: Enable
LOCALRY
Bit symbol
(01D9H)
Read/Write
Reset State
Function
Bank for
LOCAL-Y
0: Disable
1: Enable
LOCALRZ
Bit symbol
(01DBH)
Read/Write
Reset State
Function
Bank for
LOCAL-Z
0: Disable
1: Enable
ld
xix, 200000h
ld
(localrx), 81h
ld
wa, (localrx)
ld
wa, (xix)
LOCAL-X Register for Read Data
7
6
5
LXE
R/W
0
LOCAL-Y Register for Read Data
7
6
5
LYE
R/W
0
LOCAL-Z Register for Read Data
7
6
5
LZE
Z6
Z5
R/W
0
0
0
(Since bank 3 is overlapping with the COMMON area, this filed must not be specified as 3.)
92CH21-153
;
; Set Read data bank.
; <-- Insert dummy instruction which accesses
; Read bank1 of LOCAL-X area
4
3
X4
X3
0
0
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.)
4
3
Y4
Y3
0
0
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.)
4
3
Z4
Z3
R/W
0
0
Specify the bank number for the LOCAL-Z area
TMP92CH21
2
1
0
X2
X1
X0
R/W
0
0
0
2
1
0
Y2
Y1
Y0
R/W
0
0
0
2
1
0
Z2
Z1
Z0
0
0
0
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21