Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80286 > unrolled thread

Re: [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?

Started byMRAB <python@mrabarnett.plus.com>
First post2014-11-05 17:56 +0000
Last post2014-11-05 17:56 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [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@mrabarnett.plus.com> - 2014-11-05 17:56 +0000

#80286 — Re: [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?

FromMRAB <python@mrabarnett.plus.com>
Date2014-11-05 17:56 +0000
SubjectRe: [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?
Message-ID<mailman.15511.1415210208.18130.python-list@python.org>
On 2014-11-05 02:30, Dennis Lee Bieber wrote:
> On Tue, 4 Nov 2014 13:45:32 -0300, françai s <romapera15@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.
>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web