3 read-data bank register – Toshiba H1 Series User Manual

Page 214

Advertising
background image

TMP92CZ26A

92CZ26A-211

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 xix,

200000h

;

ld

(localrx), 8001h

; Set Read data bank.

ldw

wa,(localrx)

; <----Insert dummy instruction that access to SFR

ldw

wa, (xix)

; Read bank1 of LOCAL-X area

LOCAL-X register for read

7 6 5 4 3 2 1 0

bit

Symbol

X7 X6 X5 X4 X3 X2 X1 X0

Read/Write R/W

After

reset

0 0 0 0 0 0 0 0

Function

Set BANK number for LOCAL-X (“0” is disabled because of overlapped with Common-area.)

15

14

13

12

11

10

9

8

bit Symbol

LXE

X8

Read/Write R/W

R/W

After reset

0

0

Function

BANK for
LOCALX
0: Disable
1: Enable

Set BANK number for LOCAL-X

X8-X0 setting and CS

000000000 to 011111111 CSXA
100000000 to 111111111 CSXB

LOCAL-Y register for read

7 6 5 4 3 2 1 0

bit

Symbol

Y5 Y4 Y3 Y2 Y1 Y0

Read/Write

R/W

After reset

0

0

0

0

0

0

Function

Set BANK number for LOCAL-Y

(“3” is disabled because of overlapped with Common-area.)

15

14

13

12

11

10

9

8

bit

Symbol

LYE

Read/Write R/W

After reset

0

Function

BANK for
LOCALY
0: Disable
1: Enable

LOCAL-Z register for read

7 6 5 4 3 2 1 0

bit

Symbol

Z7 Z6 Z5 Z4 Z3 Z2 Z1 Z0

Read/Write R/W

After reset

0

0

0

0

0

0

0

0

Function

Set BANK number for LOCAL-Z (“3” is disabled because of overlapped with Common-area.)

15

14

13

12

11

10

9

8

bit Symbol

LZE

Z8

Read/Write R/W

R/W

After reset

0

0

Function

BANK for
LOCALZ
0: Disable
1: Enable

Set BANK number for LOCAL-Z

Z8-Z0 setting and CS

000000000 to 001111111 CSZA

100000000 to 101111111 CSZC

010000000 to 011111111 CSZB

110000000 to 111111111 CSZD

LOCALRX
(890H)

(891H)

LOCALRY
(892H)

(893H)

LOCALRZ
(894H)

(895H)

Advertising
This manual is related to the following products: