LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-25-2007, 11:57 AM   #1
davidguygc
Member
 
Registered: Jul 2004
Location: Lubbock, Texas
Distribution: Slackware 12.0 with Beryl 0.2.1
Posts: 334

Rep: Reputation: 30
Is there a difference between 64 & 32bit assembly?


I ask this because when processors jumped from 16 to 32 bit, the registers also changed (i.e. AX to EAX). So is this also the case with 32 to 64? Something like EEAX? And I know this is the case, but to have no confusion: 32 bit programming works fine and dandy on 64 bit.

I am in an assembly class in college, and I'd hate for something to throw a wrench into the last week of class, because I am getting an E6600 tomorrow (Woo! how bout dat price drop?)
 
Old 04-25-2007, 12:51 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Yes, there is a difference between x86 and x86-64 assembly. An example is the long registers rax, rbx, etc. See here for additional details. The good news is that you won’t have to worry, since you can continue to use x86 assembly (registers, instructions, etc.) just fine.
 
Old 04-25-2007, 03:58 PM   #3
davidguygc
Member
 
Registered: Jul 2004
Location: Lubbock, Texas
Distribution: Slackware 12.0 with Beryl 0.2.1
Posts: 334

Original Poster
Rep: Reputation: 30
Thanks, that was the info I needed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommend a distribution for C/C++ & x86 Assembly development reverse Programming 16 04-28-2007 11:04 AM
Printing to screen using AT&T assembly syntax doron_bl Programming 2 08-30-2005 01:00 AM
what's the difference between 32bit/64bit architecture? Thinking Linux - Hardware 1 08-19-2005 01:24 PM
Difference between 32bit and 64bit SuSE? Anthony1uk SUSE / openSUSE 4 03-05-2005 10:21 AM
C & Assembly question eantoranz Programming 3 04-23-2004 01:18 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration