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 7919699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:57:09+00:00 2026-06-03T15:57:09+00:00

I’ve been reading up on assembly. From what I understand about programming languages, it

  • 0

I’ve been reading up on assembly. From what I understand about programming languages, it seems that compilers (assemblers… I know there are subtle diffrences between the two argued elsewhere), produce object code. An unfriendly slew of machine language void of directives. This object code is interpreted by the processor, after which a linker makes it an executable. I know each processor must be spoken to in its correct assembly. Ie. .386, .486, .586 The thing which puzzles me is the diffrence between running DOS programs through MASM and running the same program through Linux without NASM or GAS. If the source code is compiled into object code isn’t it cross platform at this point? I can dual boot Windows off my Dell just as easy as Linux. What am I missing here?

Also I have been looking for a way to view the object code, so that I don’t have to decipher the execution through Immunity Debugger. Just the Directive for Directive machine code for the source code I wrote. Are there any ways to produce a result like objdump in Linux?

  • 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-03T15:57:10+00:00Added an answer on June 3, 2026 at 3:57 pm

    A modern “x86” chip understands at least three distinct instruction sets – a 16 bit one used by DOS, and 32 and 64 bit ones used by various flavors of windows & linux.

    Even though the chip is the same, and might be running in the same mode, the way a program interacts with the host operating system to obtain services (such as input/output) is quite different.

    All but the most trivial programs tend to make use of external libraries of additional object code which provide assistance with common operations (string operations, formattted input and output, math, non-trivial networking, etc) so that they don’t have to be written from scratch. But the precise collection of such libraries available, and as importantly the means of requesting and interacting with them, differs depending on the host operating system. You can perhaps package the libraries with your application (static linking) instead of using .DLL’s/.so’s expect to already be on the system (dynamic linking), but the difference in requesting the underlying raw operating system services would still need to be accommodated.

    Additionally, some schemes such as java and .net create object code which runs on a virtual machine, or simulated processor, rather than directly on the physical processor. To some extent these are portable, if the virtual machine engine and support libraries are available in compatible forms.

    The mingw version of objdump runs on windows and processes windows executables and is part of a tools suite for building windows programs with linux-like semantics. There is also a cross version of it which runs on linux and processes windows files. Going the other way, the WINE compatibility layer can run many windows executables on linux – you could explicitly test against that. But if you are willing to write in C against posix interfaces (or use a lot of wrappers on OS functions with assembly) you should be able to have one codebase that builds with both the linux and cross or mingw versions of gnu tools, so that you can relatively efficiently generate binaries for both operating systems.

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

Sidebar

Related Questions

I am reading a book about Javascript and jQuery and using one of the
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace

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.