| ??? 07/30/02 11:18 Read: times |
#26519 - RE: Need help on a computation... |
Hi Sriharsha,
on using assembler, there was almost no floating point library used. But nevertheless most times numbers with decimal point displayed. The solution was simple: You must only interpret 1025 as 10.25 and so on. Also for converting strings into binary you should found tons of example code around the web. Mostly for any digit the value was multiplied by 10 and the new digit was added. Also for the reverse conversion tons of code exist. On machines without hardware divison, the subtractions method was the most efficient way (count, how often you can substract 10000, 1000, 100, 10, 1). Peter |
| Topic | Author | Date |
| Need help on a computation... | 01/01/70 00:00 | |
| RE: Need help on a computation... | 01/01/70 00:00 | |
RE: Need help on a computation... | 01/01/70 00:00 |



