Datasheet
FS98O22
Rev. 1.6 21/146
3. Memory Organization
3.1. Program Memory Structure
FS98O22 has an 12bits Program Counter which is capable of addressing a 4k x 16bits program memory space
and a 8 level depth 12bits Stack Register. The Start up/Reset Vector is at 0x0000H. When FS98O22 is started
or its program is reset, the Program Counter will point to Reset Vector. The Interrupt Vector is at 0x0004H. No
matter what ISR is processed, the Program Counter will point to Interrupt Vector. Please see Figure 3-1.
Figure 3-1 FS98O22 program memory structure
3.2. Data Memory Structure
FS98O22 has 384-byte Data Memory. The data memory is partitioned into three parts. The area with address
00h~07h is reserved for system special registers, such as indirect address, indirect address pointer, status
register, working register, interrupt flag, interrupt control register. The address 08h~7Fh areas are peripheral
special registers, such as I/O ports, timer, ADC, signal conditional network control register, LCD driver. The
address 80h~17Fh areas are SRAM for general data memory. Please see Table 3-1.
Table 3-1 FS98O22 Data memory structure
Start Address End Address Data Memory
0X00H 0X07H
System Special Registers
0X08H 0X7FH
Peripheral Special Registers
0X80H 0X17FH
General Data Memory(256 bytes)
FORTUNE'
Properties
For Reference Only