Re: Question about executables Hex Editors
you need to think about the operations that are being performed.
then you need to consider that there is a standard instruction set for a chip, and there are hex codes that do certain things.
for example, when you have a simple operation, Add two numbers together.
you need to think abut how this is done, you have input, process, output.
there will be quiet a few operations for this, all around get input from memory, store data in the accumulator on the chip device, perform operations on the data stored in acc (addition), then store result, get result display result.
all the chip operations are actually just binary codes, which are presented to us usually in HEX, and often we give then their ASCII charectors as well, so you may well see a small heart symbol, but that's actually an instruction to get some data from a memory location, followed by a number to specify that memory location.
you're seeing plain text, because the text is stored in plain text.
so what you're actually seeing is a command (push the following data to the console output) (data is Hello world).
instruction sets for devices are freely available online, so if you really want to see what that compiled code is doing, you can work it all out.
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."