International Journal of Advanced Engineering and Technology

International Journal of Advanced Engineering and Technology


International Journal of Advanced Engineering and Technology
International Journal of Advanced Engineering and Technology
Vol. 4, Issue 2 (2020)

Analysis and discussion of problems in the multiplication of different types of data of single-chip microcomputer


Hanyu Yang

When C51 single-chip microcomputer performs multiplication operation with the command *, sometimes the result of the calculation is error, especially when the data types are different and the data is relatively large. This situation is mainly due to the multiplication operation missed one step of operation after data type conversion. In this case, we can use introducing intermediate variables, distribution operation, or cast data type to correct it.
Download  |  Pages : 24-26
How to cite this article:
Hanyu Yang. Analysis and discussion of problems in the multiplication of different types of data of single-chip microcomputer. International Journal of Advanced Engineering and Technology, Volume 4, Issue 2, 2020, Pages 24-26
International Journal of Advanced Engineering and Technology