Hacker News new | ask | show | jobs
by nicetryguy 841 days ago
> Yet the top answer is "this is gibberish"

They're not wrong really. It is gibberish on it's own. We don't know where in memory that it starts or the places it is referencing in the jumps. If it were ASM source code those jumps would likely contain labels instead of just raw dogging memory locations.

The fact that it just so happens to be from COMMAND.COM from MS-DOS 3 is a wonderful bit of detective work, but it doesn't make the snippet any less gibberish.

2 comments

By that definition, any language I don't speak is gibberish, and yet if someone asked me "what does 'Je n'ai pas mangé depuis six jours' mean", replying that it's gibberish is obviously wrong.
Seems to me, your comment presumes a certain completeness on the part of the utterance/code snippet that isn't necessarily given.
That's not really a good comparison, no. The code snippet is more comparable to a sentence fragment, which more often than not is "gibberish".

For example, taken out of its original context, this sentence fragment from your comment is meaningless:

"that definition, any language"

No it is not "gibberish". Gibberish would be a stream of invalid opcodes, zeros and FFs. The code is incomplete, true, but it easily deducable what it is doing. The only thing that looks strange is IRET, but not entirely misplaced.