![Toshiba TMP91C824F Data Book Download Page 120](http://html.mh-extra.com/html/toshiba/tmp91c824f/tmp91c824f_data-book_428625120.webp)
TMP91C824
91C824-117
;Bank Operation
;***** /CS2 *****
ORG
000000H
; Program ROM: Start address at Bank0 of Local2
ORG
200000H
; Program ROM: Start address at Bank1 of Local2
NOP
; Operation at Bank1of Local2
〜
JP
E00100H
; Jump to Bank7(=Common2) of Local2
ORG
400000H
; Program ROM: Start address at Bank2 of Local2
ORG
600000H
; Program ROM: Start address at Bank3 of Local2
NOP
; Operation at Bank3 of Local2
〜
JP
E00200H
; Jump to Bank7(=Common2) of Local2
ORG
800000H
; Program ROM: Start address at Bank4 of Local2
ORG
a00000H
; Program ROM: Start address at Bank5 of Local2
ORG
c00000H
; Program ROM: Start address at Bank6 of Local2
!!!! Program Start !!!!
ORG
E00000H
; Program ROM: Start address at Bank7(=Common2) of Local2
; Logical address E00000H
〜
FFFFFFH
; Physical address 0E00000H
〜
0FFFFFFH
LD
(LOCAL2),81H
; Local2 Bank1 set 20xxxxH
JP
C00000H
; Jump to Bank1 (200000H: Physical address) of Local2
〜
ORG
E00100H
LD
(LOCAL2),83H
; Local2 Bank3 set 60xxxxH
JP
C00000H
; Jump to Bank3 (600000H: Physical address) of Local2
〜
ORG
E00200H
LD
(LOCAL1),84H
; Local1 Bank4 set 80xxxxH
JP
400000H
; Jump to Bank4 (800000H: Physical address) of Local1
ORG
FFFFFFH
; Program ROM: End address at Bank7(=Common2) of Local2
;***** /CS1 *****
ORG
000000H
; Program ROM: Start address at Bank0 of Local1
ORG
200000H
; Program ROM: Start address at Bank1 of Local1
ORG
400000H
; Program ROM: Start address at Bank2 of Local1
ORG
600000H
; Program ROM: Start address at Bank3(=Common1) of Local1
LD
(LOCAL1),87H
; Local1 Bank7 set E0xxxxH
JP
400000H
; Jump to Bank7 (E00000H: Physical address) of Local1
ORG
800000H
; Program ROM: Start address at Bank4 of Local1
NOP
; Operation at Bank4 of Local1
〜
JP
600000H
; Jump to Bank3(=Common1) of Local1
ORG
a00000H
; Program ROM: Start address at Bank5 of Local1
ORG
c00000H
; Program ROM: Start address at Bank6 of Local1
ORG
E00000H
; Program ROM: Start address at Bank7 of Local1
LD
(LOCAL1),80H
; Local1 Bank0 set 00xxxxH
JP
400000H
; Jump to Bank0 (000000H: Physical address) of Local1
ORG
FFFFFFH
; Program ROM: End address at Bank7 of Local1
It’s prohibit to set other BANK setting in except common area
Program run-away
Figure 3.8.4.4 Bank Operation S/W Exapmle3