广东工业大学学报 ›› 2006, Vol. 23 ›› Issue (4): 23-26.

• 综合研究 • 上一篇    下一篇

单片机C语言编程中多位乘法运算问题探讨

  

  1. 广东工业大学自动化学院; 广东工业大学自动化学院 广东广州510090; 广东广州510090;
  • 出版日期:2006-11-10 发布日期:2006-11-10
  • 基金资助:

    广东省科技计划项目(2003C102022)

Study of Multiplicative Prog Ramming Problem in C51

  1. (Faculty of Automation,Guangdong University of Technology,Guangzhou 510090,China)
  • Online:2006-11-10 Published:2006-11-10

摘要: 本文指出了人们运用C51实现多字节乘法运算时可能忽视的一个问题.通过分析该问题出现的原因,提出了中间变量法、分步运算法和强制数据类型转换法等3种解决方法,实验表明这些方法是可行的.

关键词: C51; 单片机; 乘法运算;

Abstract: This text points out a problem that people may neglect in the use of C51 to operate multiplication of multi-bytes.It analyzes the reason why this prodlem appears.Then it puts forward three methods to resolve it,and these methods are proved to be feasible by experiments.

Key words: C51; single chip; muitiplication operation;

[1] 胡士强,张小英,王改名,王丽平.  利用C51开发单片机系统应用软件[J]. 河北工业科技. 1999(02)
No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!