SN8P2711A
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 15
Version 0.1
2.1.1.1
RESET VECTOR (0000H)
A one-word vector address area is used to execute system reset.
)
Power On Reset (NT0=1, NPD=0).
)
Watchdog Reset (NT0=0, NPD=0).
)
External Reset (NT0=1, NPD=1).
After power on reset, external reset or watchdog timer overflow reset, then the chip will restart the program from
address 0000h and all system registers will be set as default values. It is easy to know reset status from NT0, NPD
flags of PFLAG register. The following example shows the way to define the reset vector in the program memory.
¾
Example: Defining Reset Vector
ORG 0
;
0000H
JMP
START
; Jump to user program address.
…
ORG 10H
START:
; 0010H, The head of user program.
…
; User program
…
ENDP
; End of program