LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Is there a difference between 64 & 32bit assembly? (https://www.linuxquestions.org/questions/programming-9/is-there-a-difference-between-64-and-32bit-assembly-548913/)

davidguygc 04-25-2007 11:57 AM

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?)

osor 04-25-2007 12:51 PM

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.

davidguygc 04-25-2007 03:58 PM

Thanks, that was the info I needed.


All times are GMT -5. The time now is 10:54 PM.