Hi guys,
Wonder if anyone can help me ive been working on my assembly routines for mid range pics but im getting a bit stuck with representing and working with decimal points, i,e multiply by 6.345 the only way i can think of getting around it is by shifting the multiplied number left of the decimal point enough places to bring the multiplier into whole numbers i.e to make 6.345 into 6345 then shift the result back down again.
I cant find a great amount of basic info on this, is this a reasonable way to go about the task or not?
Thanks a lot,
Harry
Wonder if anyone can help me ive been working on my assembly routines for mid range pics but im getting a bit stuck with representing and working with decimal points, i,e multiply by 6.345 the only way i can think of getting around it is by shifting the multiplied number left of the decimal point enough places to bring the multiplier into whole numbers i.e to make 6.345 into 6345 then shift the result back down again.
I cant find a great amount of basic info on this, is this a reasonable way to go about the task or not?
Thanks a lot,
Harry