2004-03-01 01:15 AM
2003-03-27 12:59 AM
Where can I download some basic math routines in assembler. The ST7 download lib seems only to be C.
I want to divide a 16 bit number by a 8 bit number2003-03-27 01:35 AM
The application note AN1039 does have some math routines in assembly(including division) though not 16-bit by 8-bit division.
2004-02-29 10:33 PM
Quote:
On 2003-03-27 14:29, BrianM wrote: Where can I download some basic math routines in assembler. The ST7 download lib seems only to be C. I want to divide a 16 bit number by a 8 bit number Go to the Micro chip web site down load there then port em to ST7 should not be to hard.2004-03-01 01:15 AM
I attached an asm file, which contain a long by word dividement.
(32/16) So you can change it to a smaller byte. ________________ Attachments : Maths.asm : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0HY&d=%2Fa%2F0X0000000bWc%2F9WU2s7vYUmuKysWmMN3Zmi2YrtR.nX.AfMn9pC7lDw0&asPdf=false