x86 Assembly Question...

timelapse

Senior member
Nov 7, 1999
401
0
0
Hello everyone, i hope you are doing well. I have a question for an assignment i have for my assembly programming class. Any help will be appreciated. Ok here goes... I have to write a "simple" program that adds two numbers in base 10. however, those two numbers can be of unlimited lenght, and i do not know how to manage the "unlimited number input" .should i store both numbers in the stack and then play with them in some way or should i store them in memory? Or is there another option? Is there a way to allocate unlimited memory?
We are in real mode, so only 1mb memory is available i think. Thanks again for your help and for just reading this.
 

nd

Golden Member
Oct 9, 1999
1,690
0
0


<< nd,

Maybe you should look into big int libs before you say something is impossible :)
>>

I'm curious as to how these "big int libs" are able to overcome the limited resources of a computer (such as memory).

Edit: I just looked up these BigInt libraries. Indeed, they are not magical and are memory limited.

It really is impossible.