2003-03-23 09:37 PM
Algorithm of division of two 8 bit numbers
2003-03-07 04:41 PM
hello sir,
sir i could not understand the algorithm of division of two 8-bit nos given in your ST7-math library.Can u pleas tell me why did u do those: Result=RLC number_a and then Remaind=RLC Remaind A=Remaind-number_b and other steps... i have attached the program file can u help me please.. thanks arup ________________ Attachments : ar.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Hn&d=%2Fa%2F0X0000000bWd%2F298L1jkTA_GguYC2V4pc9VZtC3.PooSR5a_hmFODIx8&asPdf=false2003-03-23 09:37 PM
The best way to understand how it works is to take the code and to use the simulator (STVD7 given for free on this side, download page). By performing step by step operation on each instruction, with the help of the debugger (allowing to see registers content), it will be easy to understand why it has been done like that! If you find a way to optimize this code, let us know!