40 years ago, programmed in assembly 680x . could read and understand 808x asm (and z80 and 6502). Then, chose another job. Became a satisfied hobbyist 5 years ago, with Arduino, Energia (could make a 1Ms/s oscilloscope for fun; use the latest boards I can buy) and STM32 I begin trying to play ... with 8252 (for historical reasons) and ESP32 (less wires to connect) BTW : as I try to fill this profile , I noticed I did not nrrd trwrds, nor paypal, then.

Re: Adding a percentage to a 16-bit number in 8051

Reply posted 4 years ago (12/07/2018)
Do you need to do divisions?I do not know, but your bank might have fixed interest rates (say, 2.1%). and you could decide to store the interests  for a given quantity...

Re: Adding a percentage to a 16-bit number in 8051

Reply posted 4 years ago (12/06/2018)
Do you need an accurate result?For instance, if you decide to add a fraction of 1024 (instead of a fraction of 100) division is straightforward (shifting by 10).......

Re: Low level programming

Reply posted 4 years ago (12/05/2018)
Well, I agree with jim:40 years ago, before coding in asm, I wrote (with a pencil, paper and an eraser -for typos and errors-) what it should do (using algol/pascal...

Use this form to contact dbrion06

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address