4 write-data bank register – Toshiba H1 Series User Manual

Page 215

Advertising
background image

TMP92CZ26A

92CZ26A-212

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

200000h

;

ld

(localwx), 8001h

; Set Write data bank.

ldw wa,

(localwx)

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

ldw

(xix), wa

; Write to bank1 of LOCAL-X area

LOCAL-X register for write

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 write

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 write

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

LOCALWX
(898H)

(899H)

LOCALWY
(89AH)

(89BH)

LOCALWZ
(89CH)

(89DH)

Advertising
This manual is related to the following products: