參數(shù)資料
型號: AN1218
廠商: 飛思卡爾半導體(中國)有限公司
英文描述: HC05 to HC08 Optimization
中文描述: 以HC08的優(yōu)化HC05
文件頁數(shù): 35/56頁
文件大?。?/td> 417K
代理商: AN1218
Application Note
Appendix B — CPU05 and CPU08 512-Byte Table Indexing Code
AN1218 Rev. 2
35
Appendix B — CPU05 and CPU08 512-Byte Table Indexing Code
************************************************************
*
* File : INDEXX.ASM
* Description :
* The following code illustrates the
* different instructions used to address
* a 512 byte table in memory. HC05 and HC08
* code is compared.
* Notes: Comments to the right of some instructions
* give numbers.
* CPU05 - 1st # is CPU05 cycle count
* 2nd # is instruction byte count
* CPU08 - 1st # is CPU08 cycle count
* 2nd # is instruction byte count
* Please consult the CPU08 Reference Manual
* for further details on these instructions
* Code is written for educational
* purposes only
*
************************************************************
* For the purpose of this example, the table address
* will be predefined in RAM.
* TBL_A = $120
TBL_ST0 EQU $400 ; start of table, section 0
TBL_ST1 EQU TBL_ST0+256T ; start of table, section 1
ORG $50 ; start of RAM variables
TBL_A RMB 2 ; address for table to be
; accessed by the code
ORG $200
***** Address a 512 byte table with the index register
***** The table starts at $400 and ends at $5FF
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
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
相關代理商/技術參數(shù)
參數(shù)描述
AN122677 制造商:AN# - MILITARY 功能描述:
AN122683 制造商:AN# - MILITARY 功能描述:
AN122694 制造商:AN# - MILITARY 功能描述:
AN122717 制造商:AN# - MILITARY 功能描述:
AN122718 制造商:AN# - MILITARY 功能描述: