參數(shù)資料
型號(hào): AN1218
廠商: 飛思卡爾半導(dǎo)體(中國(guó))有限公司
英文描述: HC05 to HC08 Optimization
中文描述: 以HC08的優(yōu)化HC05
文件頁(yè)數(shù): 16/56頁(yè)
文件大?。?/td> 417K
代理商: AN1218
Application Note
AN1218 Rev. 2
16
When an interrupt occurs, the contents of all the CPU registers are
pushed onto the stack, the interrupt vector is fetched, and the program
begins execution at the start of the interrupt routine. The stack contents
before and after an interrupt are shown in
Figure 2
. For the CPU08 to
remain upward compatible with the CPU05, the H index register is not
pushed onto the stack.
NOTE:
If the H register is used in the interrupt service routine or if indexed
addressing modes are used, the H register must be pushed onto the
stack.
This is accomplished by using the PSHH instruction. Before returning
from the interrupt, the PULH instruction must be used to extract the H
index register off the stack.
STACK BEFORE AN INTERRUPT CALL
STACK POINTER
$00FE
$00FF
STACK AFTER AN INTERRUPT CALL
STACK POINTER
$00FA
CONDITION CODE REGISTER
$00FB
ACCUMULATOR A
$00FC
INDEX REGISTER X
$00FD
PROGRAM COUNTER HIGH
$00FE
PROGRAM COUNTER LOW
$00FF
Figure 2. Stack Before and After an Interrupt Call
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
AN1746 Migrating from the MC68HC705K1 to the MC68HC705KJ1
AN2635 On-Chip FLASH Programming Routines
AN4009 ALARM IC SAMPLE APPLICATIONS
ARP2805D/SF 1-OUTPUT 150 W DC-DC REG PWR SUPPLY MODULE
AS1977-T nPower Single Comp. Open-Drain; Package Type: SOT23-5
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN122677 制造商:AN# - MILITARY 功能描述:
AN122683 制造商:AN# - MILITARY 功能描述:
AN122694 制造商:AN# - MILITARY 功能描述:
AN122717 制造商:AN# - MILITARY 功能描述:
AN122718 制造商:AN# - MILITARY 功能描述: