QUOTE
This my sound like a bit of a noob question, but it has always occured to me. On screen, we get hexadecimal code, but the processor doesnt understand that right? So, if I make a program in Hex, would I have to compile it, I understnad that Hex is shorthand binary, but would I?
I don't quite understand what you mean by 'Hexadecimal Code'. Can you elaborate? I should be able to answer your question, I've been writing in assembly for 3 years. If your talking about data, such as:
CODE
Somedata db 0FFh
Then that will be turned into binary when it compiles. Or if you mean you are writing a program totally in Hex, that will work too. The compiler will convert that into code that the computer can understand.
Also,
QUOTE
(1 byte= 2 hexes = 256 binary bits)
The above is wrong. 1 byte consists of 8 bits, thus making 256 possible characters.
Reply