roro36
Electrical
- Mar 23, 2011
- 3
Ok, i'll start with what I can do:
ADD K1 D500 D500
That line adds 1 to register d500 and stores it back in register d500
Its a 16bit machine and when it comes to multiplying numbers its just not big enough. So I want to use the floating point number and have it stored across 2 registers.So we try a simple addition to see if we can get this to work:
DADDR F1 D500 D500
The line reads add floating point 1 to d500 and store it in d500. What gets stored in d500 however is something like 100234257523547, not quite what I was looking for?
Any clue?
ADD K1 D500 D500
That line adds 1 to register d500 and stores it back in register d500
Its a 16bit machine and when it comes to multiplying numbers its just not big enough. So I want to use the floating point number and have it stored across 2 registers.So we try a simple addition to see if we can get this to work:
DADDR F1 D500 D500
The line reads add floating point 1 to d500 and store it in d500. What gets stored in d500 however is something like 100234257523547, not quite what I was looking for?
Any clue?