參數(shù)資料
型號(hào): AN1218
廠商: 飛思卡爾半導(dǎo)體(中國(guó))有限公司
英文描述: HC05 to HC08 Optimization
中文描述: 以HC08的優(yōu)化HC05
文件頁數(shù): 42/56頁
文件大?。?/td> 417K
代理商: AN1218
Application Note
AN1218 Rev. 2
42
Appendix E — New CPU08 MOV Instruction Examples
************************************************************
*
* File : MOVE.ASM
* Description :
* Shows examples for the MOV instruction
* All four addressing modes are illustrated
* 05 and 08 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
*
************************************************************
ORG $200
***** Move Immediate value to Direct memory location
* HC05 *
START LDA #$30 ;2,2 A
$30
STA $80 ;4,2 ($80)
(A)
* HC08 *
MOV #$30,$80 ;4,3 ($80)
$30
* Total CPU05 cycles, bytes = 6,4
* Total CPU08 cycles, bytes = 4,3
***** Move Direct mem value to Direct mem location
* HC05 *
LDA $80 ;3,2 A
($80)
STA $90 ;4,2 ($90)
(A)
* HC08 *
MOV $80,$90 ;5,3 ($90)
($80)
* Total CPU05 cycles, bytes = 7,4
* Total CPU08 cycles, bytes = 5,3
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 功能描述: