3 ms·
Could someone inform an old fogey if "super ignorant" (down at the end of the article) means that something is actually very good? Oh, and cool article btw. I
by igravious 11y ago
Could someone inform an old fogey if "super ignorant" (down at the end of the article) means that something is actually very good?
Oh, and cool article btw. I think I have a hazy recollection from a long long time ago Microsoft assembler would do the same -- as in pick the smallest machine opcode in the case of multiple assembler possibilities.
- Kristine1975 11y agoA lot of assemblers did that. Which is why in self-modifying code you inserted an instruction to load a large integer constant (e.g. 0xDEADBEEF) that the assembler could not optimize into a smaller instruction. Then at runtime you would replace that integer constant with whatever value, without the risk of overwriting part of the next instruction. Those were the days...
- 0xdeadbeefbabe 11y agoIndeed. The bubbles virus really confused me the first time I stepped through a self modifying section using dos's debug program.