參數(shù)資料
型號: GMS81C1408
英文描述: [General Purpose(2) : ADC/ LED/ SCI/ PWM]
中文描述: [通用(2):藝術發(fā)展局/發(fā)光/工商/脈寬調(diào)制]
文件頁數(shù): 26/93頁
文件大小: 853K
代理商: GMS81C1408
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描述
GMS81C5016-XXX MICROCONTROLLER|8-BIT|CMOS|DIP|40PIN|PLASTIC
GMS81C5016-XXXD MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC
GMS81C5016-XXXDT MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC
GMS81C5016-XXXPL MICROCONTROLLER|8-BIT|CMOS|LDCC|44PIN|PLASTIC
GMS81C5016-XXXPLT MICROCONTROLLER|8-BIT|CMOS|LDCC|44PIN|PLASTIC
相關代理商/技術參數(shù)
參數(shù)描述
GMS81C1408D 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C1408ED 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C1408E-HG 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C1408E-HGXXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C1408ESK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS