參數(shù)資料
型號(hào): AN1218
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: HC05 to HC08 Optimization
中文描述: 以HC08的優(yōu)化HC05
文件頁數(shù): 50/56頁
文件大?。?/td> 417K
代理商: AN1218
Application Note
AN1218 Rev. 2
50
* HC05 code *
SRCH LDX TBL_LEN ;3,2 X
(TBL_LEN)
LOOP3 LDA TABLE-1,X ;5,3 A
(TABLE-1+X)
CMP #$FF ;2,2 (A) - $FF
BEQ NEXT ;3,2 if Z=1, then goto NEXT
; this signifies that a
; saturation value has been
; found in the table
DECX ;3,1 X
X -1
BNE LOOP3 ;3,2 if Z=0, then goto LOOP3
; go look at another value
; in the table
* Total # CPU05 cycles = 19
* Total # bytes = 12
* HC08 code *
NEXT LDX TBL_LEN ;3,2 X
(TBL_LEN)
LOOP4 LDA TABLE-1,X ;4,3 A
(TABLE-1+X)
CBEQA #$FF,DONE ;4,3 (A) - $FF
; if Z=1, then goto DONE
; this signifies that a
; saturation value has been
; found in the table
DBNZX LOOP4 ;3,2 X
X -1
; if Z=0, then goto LOOP4
; go look at another value
; in the table
* Total # CPU08 cycles = 14
* Total # bytes = 10
DONE NOP
BRA DONE
***** Initialize the reset vector
ORG $FFFE
DW SRCH
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 功能描述: