Results 1 to 15 of 15
Like Tree1Likes
  • 1 Post By jim829

Thread: I intend to write in lowest level of computer programming as a hobby.

  1. #1
    monsieur's Avatar
    monsieur is offline Member
    Join Date
    Oct 2014
    Posts
    23
    Rep Power
    0

    Default I intend to write in lowest level of computer programming as a hobby.

    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?

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    None of the above. The lowest level, if the architecture supports it, is microcode. Where each assembly instruction consists of a number of much smaller and rather arcane instructions which can manipulate signals to "wire" the instructions. This is in contrast to CPU instructions (machine code) which are hardwired and not changeable.

    And having toggled in machine code at some point in my younger days, programming in hex or binary can rapidly lose its charm. Make certain you add lots of no-ops when you do it.

    Regards,
    Jim
    Last edited by jim829; 11-06-2014 at 12:36 AM.
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Quote Originally Posted by monsieur View Post
    It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?
    Of course it is possible, but just because something is possible does not mean it is something that you can achieve in your lifetime.

    I'd be more specific about what you want to actually achieve if you want any kind of relevant answers. For example: what kind of program would you be writing?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Having gone back thru your posts I noticed a single theme. The nature of the question, although legitimate, makes me wonder if this isn't related to some school assignment. Something like "The practical aspects of programming in machine code." In any event, think about this. Where do you think the very first compilers or assemblers came from? If all of the sudden all of them disappeared, how would they be re-written?

    Regards,
    Jim
    gimbal2 likes this.
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Indeed. But now imagine that you would have to write an assembler in machine code for today's CPU architectures and application demands.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  6. #6
    monsieur's Avatar
    monsieur is offline Member
    Join Date
    Oct 2014
    Posts
    23
    Rep Power
    0

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Quote Originally Posted by gimbal2 View Post
    Of course it is possible, but just because something is possible does not mean it is something that you can achieve in your lifetime.

    I'd be more specific about what you want to actually achieve if you want any kind of relevant answers. For example: what kind of program would you be writing?
    I plan to try to write everything that can be written in machine code.

  7. #7
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    I plan to try to write everything that can be written in machine code.
    Why would that comment draw any interest on a Java programming forum?

    Other than it just so happens that there are a lot of OldF.. here that have programmed in machine code.
    If you don't understand my response, don't ignore it, ask a question.

  8. #8
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Quote Originally Posted by Norm View Post
    that there are a lot of OldF..
    You can say it as it is the truth: old freaks.

    Quote Originally Posted by monsieur View Post
    I plan to try to write everything that can be written in machine code.
    That is the exact opposite of "specific" :/
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  9. #9
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Quote Originally Posted by Norm View Post
    Why would that comment draw any interest on a Java programming forum?
    Other than it just so happens that there are a lot of OldF.. here that have programmed in machine code.
    Good point! And I'm proud to be an OldF...! Of course you are correct that it has nothing to do with Java. Other than attending classes, I wonder where one would ask a question of this nature? Certainly not ehow or answers.com.

    Edit: Actually, there needs to be a General Comp Sci sub forum in this forum. I think it would help a lot of folks. It would be useful just like the IDE sub forums have their use.

    Regards,
    Jim
    Last edited by jim829; 11-06-2014 at 03:07 PM.
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  10. #10
    monsieur's Avatar
    monsieur is offline Member
    Join Date
    Oct 2014
    Posts
    23
    Rep Power
    0

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Quote Originally Posted by gimbal2 View Post
    That is the exact opposite of "specific" :/
    I intend to try to write in machine code from the easiest program until the most difficult program that can be written in machine code for hobby.

  11. #11
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Try doing what Jim suggested or implied. Get a barebones computer that allows entering bytes into memory, code a bootstrap loader to read a in program(in machine code) and start it executing. Build an OS and compiler using only the tools that you have written.
    If you don't understand my response, don't ignore it, ask a question.

  12. #12
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Quote Originally Posted by gimbal2 View Post
    Indeed. But now imagine that you would have to write an assembler in machine code for today's CPU architectures and application demands.
    It can't be done.
    The mystical incantations used to create the First Code have long since been lost.

    We now simply await the Last Code, upon whose execution all things shall end...


    Om.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  13. #13
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Hopefully, I'll be long gone by then.
    If you don't understand my response, don't ignore it, ask a question.

  14. #14
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    Apparently it is impossible to get a more specific description of said "hobby". Nope, just code "a program" using "some machine code" on "some computer".

    I'd at least understand this question if it were something along the lines of "I want to write a program for a Commodore Amiga", then at least you have something specific to talk about such as hardware and a machine instruction set. Or "I want to program an FPGA".

    But nope, nothing specific. Just "I want to pile bricks on top of each other". No actual plan such as building a house or a wall for the yard, just "do something random as a hobby, because reasons". Good luck with that :/
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  15. #15
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,423
    Blog Entries
    7
    Rep Power
    27

    Default Re: I intend to write in lowest level of computer programming as a hobby.

    I can honestly can say that I never ever touched any assembly code for an x86 processor; it is just too ugly ... I don't fear those RISC thingies and I can handle a couple of CISC processors and I used to be proficient in PDP/60 micro code but those x86 cooking utensils? nah, I prefer Java then ...

    kind regards,

    Jos (<--- Old Fart and proud of it ;-)
    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Replies: 10
    Last Post: 08-01-2014, 09:11 AM
  2. Java lower level graphics programming
    By 3vix6 in forum New To Java
    Replies: 1
    Last Post: 06-11-2013, 06:10 AM
  3. Replies: 2
    Last Post: 11-03-2012, 02:00 AM
  4. Second JFrame won't display as I intend
    By elnbado in forum AWT / Swing
    Replies: 0
    Last Post: 03-08-2011, 12:45 PM
  5. Post Apocalyptic Hobby Project Needs Programmers
    By wolf28 in forum Jobs Offered
    Replies: 0
    Last Post: 07-29-2007, 07:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •