So, i wrote a simple program that prints the contents of a file that is specified in the command-line arguments, and i have a major issue with the memory allocation,
Basically, i dynamically allocate memory using INT 21h, 48h and use the allocated space to store the file’s contents, the issue i have with it at the moment is that it doesn’t allow me to allocate more than 4 paragraphs of memory, which is 64 bytes, or else it’ll throw an error about insufficient memory. And that’s quite a small amount of memory.
So, if you can tell me about another way that let me allocate more than 64 bytes, that’d be appreciated!
Thanks! 😀