DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

SN8P26042AKDG 查看數據表(PDF) - Sonix Technology Co., Ltd

零件编号
产品描述 (功能)
生产厂家
SN8P26042AKDG
SONiX
Sonix Technology Co., Ltd SONiX
SN8P26042AKDG Datasheet PDF : 101 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
SN8P2604A
8-Bit Micro-Controller
¾ Example: Defining Interrupt Vector. The interrupt service routine is following user program.
.CODE
START:
MY_IRQ:
ORG
JMP
ORG
JMP
ORG
JMP
PUSH
POP
RETI
ENDP
0
START
8
MY_IRQ
10H
START
; 0000H
; Jump to user program address.
; Interrupt vector.
; 0008H, Jump to interrupt service routine address.
; 0010H, The head of user program.
; User program.
; End 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.
; End of program.
’ 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.
SONiX TECHNOLOGY CO., LTD
Page 16
Version 0.3

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]