English
Language : 

GMS81C1102 Datasheet, PDF (31/89 Pages) Hynix Semiconductor – 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C1102 / GMS81C1202
12.2 Program Memory
A 16-bit program counter is capable of addressing up to
64K bytes, but this device has 2K bytes program memory
space only the physically implemented. Accessing a loca-
tion above FFFFH will cause a wrap-around to 0000H.
Figure 12-4 shows a map of the upper part of the Program
Memory. After reset, the CPU begins execution from reset
vector which is stored in address FFFEH, FFFFH.
As shown in Figure 12-4, each area is assigned a fixed lo-
cation in Program Memory. Program Memory area con-
tains the user program, Page Call (PCALL) area contains
subroutine program, to reduce program byte length be-
cause of using by 2 bytes PCALL instead of 3 bytes CALL
instruction. If it is frequently called, more useful to save
program byte length.
0F50H
DEVICE
CONFIGURATION
AREA
0FF0H
F800H
NOT USED
PROGRAM
MEMORY
FEFFH
FF00H
FFBFH
FFC0H
FFDFH
FFE0H
FFFFH
PCALL
AREA
TCALL
AREA
INTERRUPT
VECTOR AREA
ID
ID
ID
ID
ID
ID
ID
ID
ID
ID
CONFIG
0F50H
0F60H
0F70H
0F80H
0F90H
0FA0H
0FB0H
0FC0H
0FD0H
0FE0H
0FF0H
Figure 12-4 Program Memory Map
The Device Configuration Area can be programmed or left
unprogrammed to select device configuration such as RC
oscillation option. This area is not accessible during nor-
mal execution but is readable and writable during program
/ verify.
More detail informations are explained in device configu-
ration area section.
Table Call (TCALL) causes the CPU to jump to each
TCALL address, where it commences execution of the
service routine. The Table Call service locations are
spaced at 2-byte interval : FFC0H for TCALL15, FFC2H
for TCALL14, etc.
The interrupt causes the CPU to jump to specific location,
where it commences execution of the service routine. The
External interrupt 0, for example, is assigned to location
FFFAH. The interrupt service locations are spaced at 2-
byte interval : FFF8H for External Interrupt 1, FFFAH for
External Interrupt 0, etc.
Address
FFC0H
FFC2H
FFC4H
FFC6H
FFC8H
FFCAH
FFCCH
FFCEH
FFD0H
FFD2H
FFD4H
FFD6H
FFD8H
FFDAH
FFDCH
FFDEH
TCALL Name
TCALL15
TCALL14
TCALL13
TCALL12
TCALL11
TCALL10
TCALL9
TCALL8
TCALL7
TCALL6
TCALL5
TCALL4
TCALL3
TCALL2
TCALL1
TCALL0 / BRK 1
Table 12-1 TCALL Vectors
1. The BRK software interrupt is using same address
with TCALL0.
As for the area from FF00H to FFFFH, if any area of them
is not going to be used, its service location is available as
general purpose Program Memory.
Address
FFE0H
FFE2H
FFE4H
FFE6H
FFE8H
FFEAH
FFECH
FFEEH
FFF0H
FFF2H
FFF4H
FFF6H
FFF8H
FFFAH
FFFCH
FFFEH
Vector Name
Not Used
Not Used
Not Used
Basic Interval Timer
Watchdog Timer
A/D Converter
Not Used
Not Used
Not Used
Not Used
Timer / Counter 1
Timer / Counter 0
External Interrupt 1
External Interrupt 0
Not Used
RESET
Table 12-2 Interrupt Vectors
Page Call (PCALL) area contains subroutine program to
28
Jan. 2002 ver 2.0