[OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

MRAB python at mrabarnett.plus.com
Wed Nov 5 12:56:45 EST 2014


On 2014-11-05 02:30, Dennis Lee Bieber wrote:
> On Tue, 4 Nov 2014 13:45:32 -0300, françai s <romapera15 at gmail.com>
> declaimed the following:
>
>>I intend to write in lowest level of computer programming as a hobby.
>>
>>It is true that is impossible write in binary code, the lowest level
>>of programming that you can write is in hex code?
>>
>>What is the lowest level of programming computers that you can write ?
>>
>>Is binary code?
>>
>>Is hex code?
>>
>>Is another machine code? Honestly do not know if it is true that there
>>is another machine code beyond the binary and hex code.
>>
>>Is Assembly?
>
> 	Meaningless question -- it all relies upon HOW THE CODE GETS INTO
> MEMORY.
>
> 	NOT TO MENTION: "binary" and "hex" are just notations. They both
> represent a set of bits, but hex uses one character to encode 4 bits while
>
> binary needs one character for each bit.
>
> 	0xA5 is the SAME as '101001010'b (note: the notation differs with
> whatever system you use to enter them -- 0xA5 in C is 16#A5# in Ada, and
> 'A5'h in some obsolete systems..
>
I've also seen $A3 and 0A3h (it needs to start with a digit in the
range 0..9).

> 	If you have an old system with front-panel toggle switches, you set the
> switches for binary values, and then push the "enter" switch.
>
> 	"machine code" typically implies an instruction set specific to that
> machine... ALL computers operate in BINARY logic (a bit only holds 0 or 1).
> How you get those bits into the computer is irrelevant.
>




More information about the Python-list mailing list