Ilia Gildin
Junior Member level 3
- Joined
- Sep 27, 2014
- Messages
- 26
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 184
hello
I need to convert 10 bits and more binary numbers to decimal numbers in order to show them in the LCD (In C its a lot easier as you can just make it as 1*2^10+1*2^9.....) how can I make a similar line in assembler and to make the number like 4096 to be '4' '0' '9' '6' in order to write it again in C I can simply divide and use mod but how to make assembler to do the job
I need to convert 10 bits and more binary numbers to decimal numbers in order to show them in the LCD (In C its a lot easier as you can just make it as 1*2^10+1*2^9.....) how can I make a similar line in assembler and to make the number like 4096 to be '4' '0' '9' '6' in order to write it again in C I can simply divide and use mod but how to make assembler to do the job