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


Groups > comp.lang.python > #80302

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?

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63
Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!news.muarf.org!news.roellig-ltd.de!open-news-network.org!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!lightspeed.eweka.nl!lightspeed.eweka.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'output': 0.05; 'binary': 0.07; 'intel': 0.07; 'level,': 0.07; 'subject:code': 0.07; 'suppose': 0.07; 'code"': 0.09; 'conversions': 0.09; 'executable': 0.09; 'function,': 0.09; 'key.': 0.09; 'linker': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'screen.': 0.09; 'toggle': 0.09; 'whatever.': 0.09; 'wrote': 0.14; 'assembler': 0.16; 'binary,': 0.16; 'code?': 0.16; 'displaying': 0.16; 'hardware.': 0.16; 'hex': 0.16; 'instruction.': 0.16; 'navigation': 0.16; 'next.': 0.16; 'printout': 0.16; 'processor,': 0.16; 'processors': 0.16; 'received:80.91.229.3': 0.16; 'received:97': 0.16; 'received:plane.gmane.org': 0.16; 'skipped': 0.16; 'somewhere.': 0.16; 'stuff,': 0.16; 'subject:programming': 0.16; 'switches': 0.16; 'tape': 0.16; 'trivially': 0.16; 'tty': 0.16; 'ignore': 0.16; 'language': 0.16; 'code.': 0.18; 'subject:] ': 0.20; 'written': 0.21; 'machine': 0.22; 'code,': 0.22; 'programming': 0.22; 'keyboard': 0.24; 'mind.': 0.24; 'tells': 0.24; "i've": 0.25; 'header:X-Complaints-To:1': 0.27; 'specifically': 0.29; 'character': 0.29; 'instruction': 0.29; 'code': 0.31; 'that.': 0.31; 'usually': 0.31; 'you?': 0.31; 'minor': 0.31; 'subject::[': 0.31; 'subject:that': 0.31; 'probably': 0.32; 'stuff': 0.32; 'another': 0.32; 'text': 0.33; 'running': 0.33; 'ago': 0.33; 'subject:the': 0.34; "can't": 0.35; 'except': 0.35; 'beyond': 0.35; 'case,': 0.35; 'convert': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'ibm': 0.36; 'in.': 0.36; 'done': 0.36; 'next': 0.36; "didn't": 0.36; 'subject:?': 0.36; 'changing': 0.37; 'too': 0.37; 'operating': 0.37; 'level': 0.37; 'machines': 0.38; 'to:addr:python-list': 0.38; 'that,': 0.38; 'anything': 0.39; 'recent': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'even': 0.60; 'up,': 0.60; 'most': 0.60; 'hardware': 0.61; 'services,': 0.61; 'course': 0.61; "you're": 0.61; 'first': 0.61; "you'll": 0.62; "you've": 0.63; 'show': 0.63; 'kind': 0.63; 'real': 0.63; 'our': 0.64; 'pick': 0.64; 'more': 0.64; 'cards': 0.65; 'talking': 0.65; 'customers': 0.66; 'between': 0.67; 'satellite': 0.68; 'results': 0.69; 'computers': 0.72; 'lowest': 0.74; 'paper': 0.75; 'low': 0.83; 'asked.': 0.84; 'console,': 0.84; 'keystrokes': 0.84; 'presumably': 0.84; 'rotary': 0.84; 'trig': 0.84; 'wheel': 0.84; 'subject:you': 0.87; 'subject:OFF': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dave Angel <davea@davea.name>
Subject 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?
Date Wed, 5 Nov 2014 21:24:57 -0500 (EST)
Organization news.gmane.org
References <CAK_6RwdnUbMBPheTcLRs5-x+3yhMuaJovuBAnVewiaOkXT9h0Q@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host 97.73.240.68
X-Newsreader PiaoHong.Usenet.Client.VIP:1.63
X-Archive encrypt
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15526.1415240715.18130.python-list@python.org> (permalink)
Lines 82
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415240715 news.xs4all.nl 2912 [2001:888:2000:d::a6]:39909
X-Complaints-To abuse@xs4all.nl
X-Received-Body-CRC 3290537415
X-Received-Bytes 7586
Xref csiph.com comp.lang.python:80302

Show key headers only | View raw


françai s <romapera15@gmail.com> Wrote in message:
> 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?
> 

You have to start somewhere. The lowest practical level is called
 hardware. If you're going to ignore that, then you presumably
 have some particular hardware in mind. If you're talking the
 Intel Pentium, you've already skipped the lowest level, because
 Intel has already done it (microcode ) and sealed it inside the
 chip.

Many years ago I wrote microcode for a living,  and on some of our
 machines it was buried in ROM, while in others it was changeable
 and loaded at boot time. In any case, customers didn't usually
 get documentation or tools for changing it. There probably are
 still processors around that have changeable microcode
 available.

You may ask what is Microcode? It's the code that tells the real
 hardware what to do with that binary "machine code" that people
 call machine code. You don't really think that there is hardware
 to do a trig function,  do you?

So once you pick a processor, if you can't write the microcode, 
 what's the lowest level? Toggle switches is probably it, because
 anything else has gobs of software running before you hit your
 first key. Keyboards were once hardware, but probably any recent
 keyboard has more code in it than my satellite navigation program
 written in 1973.

Of course toggle switches on the console are probably binary, but
 the first IBM machines had hex rotary switches on their
 console.

There's no important difference between binary and hex; you do
 those conversions in your head while toggling stuff
 in.

Now if you don't have a console then you have to go up a level, 
 and use some form of console. We used punched paper tape as the
 next level up, and hex punched cards next. I suppose you'll have
 to use a console,  with some kind of monitor echoing your
 keystrokes onto a screen. No tty for you?

Next level up is to have some form of operating system running. 
 You might even use a system call to output a character to your
 terminal. No machine language instruction for that.

And so on.

Assembly is a low level language that is pretty much translated,
 each line of text into one mahine instruction. Usually the
 printout can show the results in hex or octal, but you can
 trivially convert in your head to binary for those toggle
 switches or whatever.  Or use the executable that your assembler
 and linker produce. But by now you're using lots of os services, 
 reading and writing files, displaying stuff, printing to a dot
 matrix or daisy wheel printer.

Pick your level, there are dozens, and I've used most of them. But
 the distinction between binary, octal, and hex is too minor to
 mention,  except you specifically asked.

HTH

-- 
DaveA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


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? Dave Angel <davea@davea.name> - 2014-11-05 21:24 -0500

csiph-web