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

  • Home
  • SEARCH
  • 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 9183125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:43:38+00:00 2026-06-17T18:43:38+00:00

When a compiler compiles my code in text form, it converts the text code

  • 0

When a compiler compiles my code in text form, it converts the text code to a low level code, in the case of the GCC in codeblocks, assembly.

  1. Can I run this compiled program directly on my machine, without needing the windows operating system?

  2. Is the .exe a compiled file with the built in assembly instructions to my program?

  3. How does windows runs assembly programs if it is already a giant assembly program?

  4. If a assembly language program is in bytecode, why when I record a PIC with a PIC burner, I write hexacode to it?

  5. The x64 architeture is a new architeture with new instructions but that still have the x86 instructions with it? True or false?

  6. How do I read the low level code generated by my compiler?

Thanks

  • 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-17T18:43:40+00:00Added an answer on June 17, 2026 at 6:43 pm

    While I agree with templatetypedef’s comment that this should be split into smaller questions, I will endeavour to give some pointers on each of your questions here.

    Can I run this compiled program directly on my machine, without
    needing the windows operating system?

    Technically, yes, but this would involve modifying the normal boot procedure. This relates to your third question. Windows itself is a form of application loader, it is an application designed to launch other applications (and do other useful things). At the moment, when your computer boots, its first instruction is likely a JUMP instruction telling the computer to ‘jump to’ the memory location of your OS and start its initialisation. From then on, the OS is relatively self-contained.

    Is the .exe a compiled file with the built in assembly instructions to
    my program?

    A .exe file is just one type of executable file. Others include ELF and Mach-O and a whole range of others. A .exe file is just like any other file except for its ‘header’ which tells the machine that the following data is in the form of machine-executable instructions (1s and 0s). Don’t confuse assembly languages with machine instructions. An assembly instruction like mov %eax, %ebx is NOT read by the machine. First it is passed through an assmebler and translated into 1s and 0s.

    If a assembly language program is in bytecode, why when I record a PIC
    with a PIC burner, I write hexacode to it?

    As above. Bytecode is a word with many meanings. Hexadecimal is just another (shorter) way of representing binary. Everything reduces down to binary at the end of the day.

    The x64 architeture is a new architecture with new instructions but
    that still have the x86 instructions with it? True or false?

    True. Intel does its best to maintain full backwards-compatibility. This does not necessarily hold true for operating systems.

    How do I read the low level code generated by my compiler?

    By low level I assume you mean the assembly code, not the 1s and 0s. The most common way is to use the -S flag with a compiler like gcc. This will output a .s assembly file instead of a .o object or .exe(etc) executable.

    If you want to know more about assembly, this is the God Reference for Intel processors (IA-32 (‘x86’) and x86-64). Be warned, it is extremely heavy going. You’re probably better of looking for Windows or OS X assembly tutorials on Google. NASM is a free multi-platform assembler if you want to get started, it has a slightly different syntax to others though. Before you undertake any of this though I recommend learning the basics of computer systems – how a processor works, etc. Perhaps learn a simpler assembly language first like DLX or MIPS.

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

Sidebar

Related Questions

This Java code compiles fine, but when I try to run it I get:
This code compiles fine with GCC and Clang but not with MSVC 2010: #include
This piece of code compiles and runs as expected on GCC 3.x and 4.x:
I've just created a little app that programmatically compiles code using the C# Compiler,
The following code compiles in Visual C++ and gcc, but fails with Code Warrior
This code compiles fine: {-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies, FlexibleInstances, UndecidableInstances, FlexibleContexts, EmptyDataDecls, ScopedTypeVariables, TypeOperators,
This code compiles, and runs successfully locally, but not on another server. Both machines
This code compiles: import java.io.Serializable; import java.util.Arrays; class Test<T extends Arrays & Serializable> {
I often want to write something like this: new Form { Text = Caption,
How can i export or compile a form that i make with code within

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.