| ??? 05/03/01 08:41 Read: times |
#11296 - RE: 16bit to BCD conversion |
Ivan Baldin wrote: ------------------------------- Oww... I C. I tryed to do convertion as I would do it in PC: bcd_k = (num % (k*10)) / k ...and that doesent work on two 8bit numbers... Why not ??? It works on every machine and also on the 8051: http://www.specs.de/~danni/ap.../index.htm But on the 8051 the subtraction method was faster. Peter |
| Topic | Author | Date |
| 16bit to BCD conversion | 01/01/70 00:00 | |
| RE: 16bit to BCD conversion | 01/01/70 00:00 | |
| RE: 16bit to BCD conversion | 01/01/70 00:00 | |
| RE: 16bit to BCD conversion | 01/01/70 00:00 | |
| RE: 16bit to BCD conversion | 01/01/70 00:00 | |
| RE: 16bit to BCD conversion | 01/01/70 00:00 | |
RE: 16bit to BCD conversion | 01/01/70 00:00 |



