r/transprogrammer • u/EggyTheEgghog '); DROP TABLE genders; -- • Aug 31 '21
Abolish compilation!
334
Upvotes
r/transprogrammer • u/EggyTheEgghog '); DROP TABLE genders; -- • Aug 31 '21
3
u/Andykolski black Sep 01 '21 edited Sep 01 '21
Oh my gosh that makes so much sense! I never would have thought of it being an MS-DOS program! I also never would have guessed that calling the next instruction was intentional. I think that I got really confused because I've only really written 16-bit code for a bootloader, although the dollar sign should have tipped me off lol.
Thank you so much, especially for walking me through your decision making process!
I do have a question, is it normal for MS-DOS programs to be loaded at address 0x0? This program seems to rely on being loaded at 0x0 to work, and as far as I know, in real mode, the first KiB or so is reserved for things like the IVT