A Novel Method for Solution of the Division Operation on ARM7 Microcontroller

Article Preview

Abstract:

Before architecture V7, the hardware of ARM microcontroller family does not support division operation. Although it is easy to program on ARM processors with C language which can implement division operation with library functions, the procedure has much trouble and the efficiency is lower when the function code written in C language is called in assembly program. This paper introduces an algorithm for the division operation on ARM7 processor and also gives corresponding subroutines which can be used directly in assembly program design. The algorithm is similar to the operation theory of the digital circuit which uses subtraction circuit to do division operation. The given subroutines can deal with the division operation between two 32-bit unsigned integers and the division between a 64-bit unsigned integer and a 32-bit unsigned integer.

You might also be interested in these eBooks

Info:

Periodical:

Advanced Materials Research (Volumes 718-720)

Pages:

2418-2421

Citation:

Online since:

July 2013

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2013 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Zhou Hangci. Microcontroller Program Design Technology. Beihang University Press. (2002)

Google Scholar

[2] Wen Quangang. Assembly language programming techniques. Beihang University Press. (2007)

Google Scholar

[3] Ganssle, Jack G. The Art of Programming Embdedded Systems. San Diego: Academic Press. (1992)

Google Scholar

[4] Allworth, steve T. Introduction To Real-Time Software Design. New York: Springer-Verlag. 1981.

Google Scholar