Toshiba TMP91C824F Data Book page 120

16bit microcontroller tlcs-900/l1 series
Table of Contents

Advertisement

;Bank Operation
;***** /CS2 *****
ORG
000000H
ORG
200000H
NOP
JP
E00100H
ORG
400000H
ORG
600000H
NOP
JP
E00200H
ORG
800000H
ORG
a00000H
ORG
c00000H
!!!! Program Start !!!!
ORG
E00000H
LD
(LOCAL2),81H
JP
C00000H
ORG
E00100H
LD
(LOCAL2),83H
JP
C00000H
ORG
E00200H
LD
(LOCAL1),84H
JP
400000H
ORG
FFFFFFH
;***** /CS1 *****
ORG
000000H
ORG
200000H
ORG
400000H
ORG
600000H
LD
(LOCAL1),87H
JP
400000H
ORG
800000H
NOP
JP
600000H
ORG
a00000H
ORG
c00000H
ORG
E00000H
LD
(LOCAL1),80H
JP
400000H
It's prohibit to set other BANK setting in except common area
ORG
FFFFFFH
; Program ROM: Start address at Bank0 of Local2
; Program ROM: Start address at Bank1 of Local2
; Operation at Bank1of Local2
; Jump to Bank7(=Common2) of Local2
; Program ROM: Start address at Bank2 of Local2
; Program ROM: Start address at Bank3 of Local2
; Operation at Bank3 of Local2
; Jump to Bank7(=Common2) of Local2
; Program ROM: Start address at Bank4 of Local2
; Program ROM: Start address at Bank5 of Local2
; Program ROM: Start address at Bank6 of Local2
; Program ROM: Start address at Bank7(=Common2) of Local2
; Logical address E00000H∼FFFFFFH
; Physical address 0E00000H∼0FFFFFFH
; Local2 Bank1 set 20xxxxH
; Jump to Bank1 (200000H: Physical address) of Local2
; Local2 Bank3 set 60xxxxH
; Jump to Bank3 (600000H: Physical address) of Local2
; Local1 Bank4 set 80xxxxH
; Jump to Bank4 (800000H: Physical address) of Local1
; Program ROM: End address at Bank7(=Common2) of Local2
; Program ROM: Start address at Bank0 of Local1
; Program ROM: Start address at Bank1 of Local1
; Program ROM: Start address at Bank2 of Local1
; Program ROM: Start address at Bank3(=Common1) of Local1
; Local1 Bank7 set E0xxxxH
; Jump to Bank7 (E00000H: Physical address) of Local1
; Program ROM: Start address at Bank4 of Local1
; Operation at Bank4 of Local1
; Jump to Bank3(=Common1) of Local1
; Program ROM: Start address at Bank5 of Local1
; Program ROM: Start address at Bank6 of Local1
; Program ROM: Start address at Bank7 of Local1
; Local1 Bank0 set 00xxxxH
; Jump to Bank0 (000000H: Physical address) of Local1
Program run-away
; Program ROM: End address at Bank7 of Local1
Figure 3.8.4.4 Bank Operation S/W Exapmle3
91C824-117
TMP91C824

Advertisement

Table of Contents
loading

Table of Contents