Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7840495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:48:11+00:00 2026-06-02T15:48:11+00:00

There seems to be many opinions on what machine code actually is. I’ve heard

  • 0

There seems to be many opinions on what machine code actually is. I’ve heard some say it’s assembly, or binary, or hex.

Is it correct to say that machine code is essentially a set of instructions for a particular processor? If so, I imagine these can be represented in binary or hexadecimal notation, or assembly. But what does the non-translated “actual” machine code look like? Is it based on the word size of the architecture? Or is hexadecimal for all intents and purposes the default representation?

What does it look like when sitting on a hard drive? What does it look like when sitting in a register? How about when it’s being processed, is it simply a set of voltage changes at that point?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T15:48:13+00:00Added an answer on June 2, 2026 at 3:48 pm

    Machine code is simply binary data that corresponds to CPU instructions for a specific processor architecture.

    I won’t go into how it is stored too much, because that depends on where it is stored. On disk, for example, it is generally stored as a sequence of magnetized regions. Machine code is no different from other binary data in the storage aspect. If your question is more about how data is stored on a computer, you should research the various data-storage devices in a computer, like HDD, RAM, and registers, to name a few.

    The easiest way to visualize how machine code is stored is to look at some in a hex editor. This shows you the binary data represented by hex numbers. For example, take the instruction:

    0xEB 0xFE
    

    This could easily be written 1110101111111110, or 60414. It depends how you want to convert binary into human-readable form.

    This instruction represents an infinite loop. (This is assuming it is being run on an x86 CPU. Other CPU’s could interpret it however they want.) It can be coded in assembly like this:

    j:
    jmp j
    

    When you run the assembler, it takes the above code and turns it into the binary machine code above.

    The instruction is really two parts. The first is what is known as the opcode, and is the 0xEB. When this code goes into the CPU, it means: Read a byte from the program, and skip that many bytes of data. Then the CPU reads the byte 0xFE. Since it expects a signed integer, it interprets the binary data as the number -2. The instruction is then done being read, and the instruction pointer moves forward 2 bytes. The instruction is then executed, causing the instruction pointer to move forward -2 (0xFE) bytes, which effectively sets the instruction pointer to the same value as it had when the instruction was started.

    I hope this answers your question. If you are wondering about the internal workings of CPU’s, read up on microcode and electronic logic gates. Basically, it’s a bunch of voltage differences, such as a 1 bit being a 5 volt charge and a 0 bit being a 0 bit charge.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There seems to be too many attributes/parameters in CSS... I want to know all
There seems to be some debate over refactoring to utilize java generics within my
I've been at this for awhile, it seems that there's many ways to go
There seems to be some debate about whether JPEGs with alpha channels are valid
There seems to be many questions WRT tool to generate diffs between xmls, but
There seems to be many variations of this question, but none that deal with
In this age of many languages, there seems to be a great language for
There seems to be many choices for Python to interface with SQLite (sqlite3, atpy)
How can I display a map in Google Closure. There seems to be many
I have been looking around, and there seems to be many different ways in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.