| 전자부품 데이터시트 검색엔진 |
|
HCS12 데이터시트(PDF) 80 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
HCS12 데이터시트(HTML) 80 Page - Freescale Semiconductor, Inc |
|
80 / 452 page ![]() S12CPUV2 Reference Manual, Rev. 4.0 80 Freescale Semiconductor are used. If the CPU attempts to execute one of the unimplemented opcodes on page 2, an opcode trap interrupt occurs. Traps are essentially interrupts that share the $FFF8:$FFF9 interrupt vector. The RTI instruction is used to terminate all exception handlers, including interrupt service routines. RTI first restores the CCR, B:A, X, Y, and the return address from the stack. If no other interrupt is pending, normal execution resumes with the instruction following the last instruction that executed prior to interrupt. Table 5-22 is a summary of interrupt instructions. Table 5-22. Interrupt Instructions Mnemonic Function Operation RTI Return from interrupt (M(SP)) ⇒ CCR; (SP) + $0001 ⇒ SP (M(SP) : M(SP+1)) ⇒ B : A; (SP) + $0002 ⇒ SP (M(SP) : M(SP+1)) ⇒ XH : XL; (SP) + $0004 ⇒ SP (M(SP) : M(SP+1)) ⇒ PCH : PCL; (SP) + $0002 ⇒ SP (M(SP) : M(SP+1)) ⇒ YH : YL; (SP) + $0004 ⇒ SP SWI Software interrupt SP – 2 ⇒ SP; RTNH : RTNL ⇒ M(SP) : M(SP+1) SP – 2 ⇒ SP; YH : YL ⇒ M(SP) : M(SP+1) SP – 2 ⇒ SP; XH : XL ⇒ M(SP) : M(SP+1) SP – 2 ⇒ SP; B : A ⇒ M(SP) : M(SP+1) SP – 1 ⇒ SP; CCR ⇒ M(SP) TRAP Unimplemented opcode interrupt SP – 2 ⇒ SP; RTNH : RTNL ⇒ M(SP) : M(SP+1) SP – 2 ⇒ SP; YH : YL ⇒ M(SP) : M(SP+1) SP – 2 ⇒ SP; XH : XL ⇒ M(SP) : M(SP+1) SP – 2 ⇒ SP; B : A ⇒ M(SP) : M(SP+1) SP – 1 ⇒ SP; CCR ⇒ M(SP) |
|
링크 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 |