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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:18:32+00:00 2026-05-12T00:18:32+00:00

I am beginning to port a program which is written in C and have

  • 0

I am beginning to port a program which is written in C and have several pieces of code written in assembly with instructions for a 32 bit machine – like ljmp – to a 64 bits machine.

Is there a place/document that have the instructions, in assembly, for a 32 bit machine and its counterpart for a 64 one? If not, where can I find a document that lists all the instructions for a 32 bit and a 64 bit machine?


As it’s is pretty obvious, I am a newbie for the situation. Let’s clarify some points.

I am porting a OS in its very early days. It was written with a x86 machine in mind. Now, I want it to run at a x86_64.

It is written in a Linux box with UNIX in mind. I am almost sure that the original author is writing it at a Intel machine. I am also on Intel but I would like to run the OS in AMD too.

The compiler used is gcc.

  • 1 1 Answer
  • 1 View
  • 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-05-12T00:18:32+00:00Added an answer on May 12, 2026 at 12:18 am

    Read this first: http://x86asm.net/articles/x86-64-tour-of-intel-manuals/index.html.

    Then download the instruction set reference here: http://developer.intel.com/products/processor/manuals/index.htm.

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

Sidebar

Related Questions

Many beginning programmers write code like this: sub copy_file ($$) { my $from =
When beginning a new web project, i'm always a bit worried about removing pieces
I'm just beginning to have a look at Objective-C and Cocoa with a view
I have a situation where I am attempting to port some big, complex python
I've followed the guide Setting Up Socket Streams and have effectively duplicated that code
At the beginning of all my executable Python scripts I put the shebang line:
I'm really beginning to understand what people mean when they say that C++'s error
At the beginning of each PHP page I open up the connection to MySQL,
I'm at the beginning/middle of a project that we chose to implement using GWT.
We are beginning to go down the path of mobile browser support for an

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.