SN8P2501D
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD Page 14 Version 1.5
Example: Defining Interrupt Vector. The interrupt service routine is following user program.
; Jump to user program address.
; 0008H, Jump to interrupt service routine address.
; 0010H, The head of user program.
;The head of interrupt service routine.
; Save ACC and PFLAG register to buffers.
; Load ACC and PFLAG register from buffers.
; End of interrupt service routine.
Note: It is easy to understand the rules of SONIX program from demo programs given above. These
points are as following:
1. The address 0000H is a “JMP” instruction to make the program starts from the beginning.
2. The address 0008H is interrupt vector.
3. User’s program is a loop routine for main purpose application.