资料
  • 资料
  • 专题
PIC16C5X的PIC16CXXX数学函数实用例程
推荐星级:
时间:2019-12-24
大小:652.5KB
阅读数:278
上传用户:978461154_qq
查看他发布的资源
下载次数
0
所需E币
3
ebi
新用户注册即送 300 E币
更多E币赚取方法,请查看
close
资料介绍
This application note provides some utility math routines for Microchip’s PIC16C5X and PIC16CXXX series of 8-bit microcontrollers. The following math outlines are provided: • 8x8 unsigned multiply • 16x16 double precision multiply • Fixed Point Division (Table 3) • 16x16 double precision addition • 16x16 double precision subtraction • BCD (Binary Coded Decimal) to binary conversion routines • Binary to BCD conversion routines • BCD addition • BCD subtraction • Square root These are written in native assembly language and the listing files are provided. They are also available on a disk (MS-DOS  ). All the routines provided can be called as subroutines. Most of the routines have two dif- ferent versions: one optimized for speed and the other optimized for code size. The calling sequence of each routine is explained at the beginning of each listing file. AN526 PIC16C5X / PIC16CXXX Math Utility Routines TABLE 1: PERFORMANCE SPECS Author: Amar Palacherla Microchip Technology Inc. Spec Program Memory Instruction Cycles PLEASE NOTE: This application note uses the old Speed Efcient 35 37 Microchip Math Routine format. It is intended for ref- Code Efcient 16 71 erence purposes only and is being provided for those of you still implementing Binary Coded Deci- FIGURE 1: Flowchart for Unsigned ……
版权说明:本资料由用户提供并上传,仅用于学习交流;若内容存在侵权,请进行举报,或 联系我们 删除。
PARTNER CONTENT
相关评论 (下载后评价送E币 我要评论)
没有更多评论了
  • 可能感兴趣
  • 关注本资料的网友还下载了
  • 技术白皮书