This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

long division code

Hello,

I would like to find a source code in C (or assembler for microcontroller 8051) in order to execute some long division ( 32 bits by 32 bits).
Do you know where i can find this function?
Thank you

kaoru

Parents
  • Kaoru,

    Code a long division in 'C', set a breakpoint on the that line and trace into the library function. You will then be able to see how it is done in assembler by professional programmers, either copy the assembler (if your license permits it) or translate it into 'C'.

    Stefan

Reply
  • Kaoru,

    Code a long division in 'C', set a breakpoint on the that line and trace into the library function. You will then be able to see how it is done in assembler by professional programmers, either copy the assembler (if your license permits it) or translate it into 'C'.

    Stefan

Children