參數(shù)資料
型號: AN1218
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: HC05 to HC08 Optimization
中文描述: 以HC08的優(yōu)化HC05
文件頁數(shù): 10/56頁
文件大小: 417K
代理商: AN1218
Application Note
AN1218 Rev. 2
10
Index Registers
CPU08 has the additional H index register which is the high byte
extension to the X index register. Together, the two index registers
formulate the concatenated 16-bit H:X index register. Five new
instructions are introduced on the CPU08 to allow manipulation of the
H:X index register. Source code written for the HC05 will not effect the
H register and it will remain in its reset state of $00.
The TSX and the TXS instructions also utilize the H:X index register.
These instructions are covered in more detail in the stack pointer
section.
Five New Indexing
Instructions, Detail
The new CPU08 instructions that affect the index registers are listed
below. Examplesfortheseinstructionsaregivenin
Appendix A — New
CPU08 Indexing Instruction Examples
.
AIX
Add Immediate to Index Register
X
(H:X) + (M)
Description: AIX adds an immediate value to the 16-bit
index register formed by the concatenation
of the H and X registers. The immediate
operand is an 8-bit two's complement
signed offset. Prior to addition to H:X, the
offset is sign extended to 16 bits.
Operation:
CLRH
Clear Index High
Operation:
H
$00
Description: The contents of H are replaced with zeros.
CPHX
Compare 16-bit Index Register
Operation:
(H:X) – (M:M+1)
Description: CPHX compares the 16-bit index register
H:X with the 16-bit value in memory and
sets the condition code register accordingly.
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 功能描述: