3 ms·
This post stirred up some memories from long ago, when I was trying to understand assembly. I had written a program to test my knowledge, not very long, a coupl
by indigoabstract 4y ago
This post stirred up some memories from long ago, when I was trying to understand assembly. I had written a program to test my knowledge, not very long, a couple of pages, and when I thought I was finished, I ran it to see how it worked.
It didn't. It was crashing and I didn't know how to use a debugger with assembly programs back then.
I combed frantically for the bug. Some hours later, it turned out I was missing a 'ret' in some function..
The assembler didn't complain, of course, and the program happily continued executing whatever was there after reaching the end of the said function.