Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/21/02 00:48
Read: times


 
#32844 - RE: Dumb...ascii to decimal question
If you have a larger number, you must store the values in ram.
For example you get from serial '123'
Then substract from each one 30h then you can
do:

mov b,#100
mov a,cents
mul ab
mov number,a
mov b,#10
mul ab
add a,number
add a,unit

Then you get the value in the acumulator


List of 5 messages in thread
TopicAuthorDate
Dumb...ascii to decimal question            01/01/70 00:00      
RE: Dumb...ascii to decimal question            01/01/70 00:00      
RE: Dumb...ascii to decimal question            01/01/70 00:00      
RE: Dumb...ascii to decimal question            01/01/70 00:00      
RE: Dumb...ascii to decimal question            01/01/70 00:00      

Back to Subject List