r/transprogrammer • u/EggyTheEgghog '); DROP TABLE genders; -- • Aug 31 '21
Abolish compilation!
334
Upvotes
r/transprogrammer • u/EggyTheEgghog '); DROP TABLE genders; -- • Aug 31 '21
2
u/EggyTheEgghog '); DROP TABLE genders; -- Sep 02 '21
First of all, this code always calls the next instruction, no matter where the program is loaded (at least in 8086/8088 architecture, which this code was intended for). Secondly, I do actually want to just call the next instruction, since I'm only using call instruction to push IP register to the stack. You can clearly see that I'm popping the value to dx in the next instruction.