English
Language : 

GMS97C2051 Datasheet, PDF (9/39 Pages) Hynix Semiconductor – 8-Bit CMOS Microcontorller
8-Bit CMOS Microcontorller
Table 7. Interrupt Sources and their corresponding Interrupt Vectors
Interrupt
External interrupt 0
Timer0
External Interrupt 1
Timer1
Serial Port Interrupt
System Reset
Source
IE0
TF0
IE1
TF1
RI + TI
RST
Vector Address
0003H
000BH
0013H
001BH
0023H
0000H
Table 8. Interrupt Priority-Within-Level
Interrupt Source
External interrupt 0
Timer0 interrupt
External Interrupt 1
Timer1 interrupt
Serial Port Interrupt
IE0
TF0
IE1
TF1
RI + TI
Priority
Highest
Lowest
GMS97C2051/L2051
Restrictions on Certain Instructions
The GMS97C2051/L2051 is an economical and cost-
effective member of HYUNDAI MicroElectronics
growing family of microcontrollers. It contains
2Kbytes of EPROM program memory. It is fully
compatible with the MCS-51 architecture, and can be
programmed using the MCS-51 instruction set. How-
ever, there are a few considerations one must keep in
mind when utilizing certain instructions to program this
device.
1. Branching instructions:
LCALL, LJMP, ACALL, AJMP, SJMP, JMP
@A+DPTR
These unconditional branching instructions will ex-
ecute correctly as long as the programmer keeps in
mind that the destination branching address must fall
within the physical boundaries of the program memory
size (locations 00H to 7FFH for the
GMS97C2051/L2051). Violating the physical space
limits may cause unknown program behavior.
CJNE [...], DJNZ [...], JB, JNB, JC, JNC, JBC, JZ, JNZ
With these conditional branching instructions the same
rule above applies. Again, violating the memory
boundaries may cause erratic execution.
For applications involving interrupts the normal inter-
rupt service routine address locations of the 80C51
family architecture have been preserved.
2. MOVX-related instructions, Data Memory:
The GMS97C2051/L2051 contains 128 bytes of inter-
nal data memory. Thus, in the GMS97C2051/L2051
the stack depth is limited to 128 bytes, the amount of
available RAM. External DATA memory access is
not supported in this device, nor is external PRO-
GRAM memory execution. Therefore, no MOVX [...]
instructions should be included in the program.
A typical 80C51 assembler will still assemble instruc-
tions, even if they are written in violation of the restric-
tions mentioned above. It is the responsibility of the
controller user to know the physical features and limi-
tations of the device being used and adjust the instruc-
tions used correspondingly.
9
HYUNDAI MicroElectonics