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

SN8P26042AHG データシートの表示(PDF) - Sonix Technology Co., Ltd

部品番号
コンポーネント説明
メーカー
SN8P26042AHG
SONiX
Sonix Technology Co., Ltd SONiX
SN8P26042AHG Datasheet PDF : 101 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
SN8P2604A
8-Bit Micro-Controller
2.1.1.2 INTERRUPT VECTOR (0008H)
A 1-word vector address area is used to execute interrupt request. If any interrupt service executes, the program
counter (PC) value is stored in stack buffer and jump to 0008h of program memory to execute the vectored interrupt.
Users have to define the interrupt vector. The following example shows the way to define the interrupt vector in the
program memory.
’ Note: ”PUSH”, “POP” instructions save and load ACC/PFLAG without (NT0, NPD). PUSH/POP buffer is a
unique buffer and only one level.
¾ Example: Defining Interrupt Vector. The interrupt service routine is following ORG 8.
.CODE
ORG
JMP
0
START
; 0000H
; Jump to user program address.
ORG
8
PUSH
POP
RETI
; Interrupt vector.
; Save ACC and PFLAG register to buffers.
; Load ACC and PFLAG register from buffers.
; End of interrupt service routine
START:
JMP
START
; The head of user program.
; User program
; End of user program
ENDP
; End of program
SONiX TECHNOLOGY CO., LTD
Page 15
Version 0.3

Share Link: 

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