參數(shù)資料
型號: GMS81C7216Q
廠商: Electronic Theatre Controls, Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 26/93頁
文件大?。?/td> 853K
代理商: GMS81C7216Q
GMS81C1404/GMS81C1408
24
June. 2001 Ver 1.2
9.2 Program Memory
A 16-bit program counter is capable of addressing up to
64K bytes, but these devices have 4K/8K bytes program
memory space only physically implemented. Accessing a
location above FFFF
H
will cause a wrap-around to 0000
H
.
Figure 9-4 , shows a map of Program Memory. After reset,
the CPU begins execution from reset vector which is stored
in address FFFE
H
and FFFF
H
as shown in Figure 9-5 .
As shown in Figure 9-4 , each area is assigned a fixed lo-
cation in Program Memory. Program Memory area con-
tains the user program.
Figure 9-4 Program Memory Map
Page Call (PCALL) area contains subroutine program to
reduce program byte length by using 2 bytes PCALL in-
stead of 3 bytes CALL instruction. If it is frequently called,
it is more useful to save program byte length.
Table Call (TCALL) causes the CPU to jump to each
TCALL address, where it commences the execution of the
service routine. The Table Call service area spaces 2-byte
for every TCALL: 0FFC0
H
for TCALL15, 0FFC2
H
for
TCALL14, etc., as shown in Figure 9-6 .
Example: Usage of TCALL
The interrupt causes the CPU to jump to specific location,
where it commences the execution of the service routine.
The External interrupt 0, for example, is assigned to loca-
tion 0FFFA
H
. The interrupt service locations spaces 2-byte
interval: 0FFF8
H
and 0FFF9
H
for External Interrupt 1,
0FFFA
H
and 0FFFB
H
for External Interrupt 0, etc.
As for the area from 0FF00
H
to 0FFFF
H
, if any area of
them is not going to be used, its service location is avail-
able as general purpose Program Memory.
Figure 9-5 Interrupt Vector Area
PROGRAM
MEMORY
TCALL
AREA
INTERRUPT
VECTOR AREA
E000H
FEFFH
FF00H
FFC0H
FFDFH
FFE0H
FFFFH
PCALL
AREA
F000H
GMS81C1404
GMS81C1408
LDA
#5
TCALL 0FH
:
:
;
1BYTE INSTRUCTION
;
INSTEAD OF 3 BYTES
;
NORMAL CALL
;
;TABLE CALL ROUTINE
;
FUNC_A: LDA
RET
;
FUNC_B: LDA
RET
;
;TABLE CALL ADD. AREA
;
ORG
DW
DW
LRG0
LRG1
0FFC0H
FUNC_A
FUNC_B
;
TCALL ADDRESS AREA
1
2
0FFE0
H
E2
E4
E6
E8
EA
EC
EE
F0
Address
Vector Area Memory
F2
F4
F6
F8
FA
FC
FE
-
-
Serial Peripheral Interface Interrupt Vector Area
Basic Interval Interrupt Vector Area
Watchdog Timer Interrupt Vector Area
A/D Converter Interrupt Vector Area
Timer/Counter 3 Interrupt Vector Area
Timer/Counter 2 Interrupt Vector Area
External Interrupt 3 Vector Area
External Interrupt 2 Vector Area
Timer/Counter 1 Interrupt Vector Area
Timer/Counter 0 Interrupt Vector Area
External Interrupt 1 Vector Area
External Interrupt 0 Vector Area
-
RESET Vector Area
“-” means reserved area.
NOTE:
相關PDF資料
PDF描述
GMS81C50 8-BIT SINGLE CHIP MICROCONTROLLERS
GMS81C5016 8-BIT SINGLE CHIP MICROCONTROLLERS
GMS81C5024 8-BIT SINGLE CHIP MICROCONTROLLERS
GMS81C5032 8-BIT SINGLE CHIP MICROCONTROLLERS
GMS81C5108 HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關代理商/技術參數(shù)
參數(shù)描述
GMS82512 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82512K 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82512Q 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82516 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82516K 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS