參數(shù)資料
型號: HMS87C1304A
廠商: Hynix Semiconductor Inc.
英文描述: CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
中文描述: CMOS單芯片8位微控制器
文件頁數(shù): 19/70頁
文件大?。?/td> 977K
代理商: HMS87C1304A
HYUNDAI MicroElectronics
HMS87C1304A/HMS87C1302A
Jan. 2001
Preliminary
19
8.2 Program Memory
A 16-bit program counter is capable of addressing up to
64K bytes, but these devices have 4K/2K bytes program
memory space only physically implemented. Accessing a
location above FFFF
H
will cause a wrap-around to 0000
H
.
Figure 8-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 8-5 .
As shown in Figure 8-4 , each area is assigned a fixed lo-
cation in Program Memory. Program Memory area con-
tains the user program.
Figure 8-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 8-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 8-5 Interrupt Vector Area
PROGRAM
MEMORY
TCALL
AREA
INTERRUPT
VECTOR AREA
F000H
FEFFH
FF00H
FFC0H
FFDFH
FFE0H
FFFFH
PCALL
AREA
F800H
HMS87C1302A
HMS87C1304A
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
-
-
-
Basic Interval Interrupt Vector Area
Watchdog Timer Interrupt Vector Area
A/D Converter Interrupt 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:
Preimnary
相關(guān)PDF資料
PDF描述
HMS87C1302AD CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS87C1304AD CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS99C51 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS99C52 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS9XC7132 DATA SHEET REV.2.0(PRELIMINARY)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS87C1304AD 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS87C1404B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C1404BD 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C1404BSK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C1408B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS