| 전자부품 데이터시트 검색엔진 |
|
SN8P1602AX 데이터시트(PDF) 80 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8P1602AX 데이터시트(HTML) 80 Page - SONiX Technology Company |
|
80 / 94 page ![]() SN8P1600 8-bit micro-controller SONiX TECHNOLOGY CO., LTD Page 80 Revision 1.94 ;------------------------------------------------------------------------------- ; Code section ;------------------------------------------------------------------------------- .CODE ORG 0 ;Code section start jmp Reset ;Reset vector ;Address 4 to 7 are reserved ORG 8 jmp Isr ;Interrupt vector ORG 10h ;------------------------------------------------------------------------------- ; Program reset section ;------------------------------------------------------------------------------- Reset: mov A,#07Fh ;Initial stack pointer and b0mov STKP,A ;disable global interrupt b0mov PFLAG,#00h ;pflag = x,x,x,x,x,c,dc,z mov A,#40h ;Clear watchdog timer and initial system mode b0mov OSCM,A call ClrRAM ;Clear RAM call SysInit ;System initial b0bset FGIE ;Enable global interrupt ;------------------------------------------------------------------------------- ; Main routine ;------------------------------------------------------------------------------- Main: b0bset FWDRST ;Clear watchdog timer call MnApp jmp Main ;------------------------------------------------------------------------------- ; Main application ;------------------------------------------------------------------------------- MnApp: ; Put your main program here ret ;----------------------------------- ; Jump table routine ;----------------------------------- ORG 0x0100 ;The jump table should start from the head ;of boundary. b0mov A,Wk00 and A,#3 ADD PCL,A jmp JmpSub0 jmp JmpSub1 jmp JmpSub2 ;----------------------------------- |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |