Jump to content

x86:80 assembly compatable on x86-64 chips?

- - - - -

  • Please log in to reply
4 replies to this topic

#1
instantcake

instantcake

    Learning Programmer

  • Members
  • PipPipPip
  • 63 posts
I've heard that x86-64's assembly is just an extension of x86 assembly, so can I use it? run it in compatibility mode? anything? (I have a intel i7 chip (can't remember the exact model number)btw,but I doubt that makes any difference)
Posted Imagehttps://wiki.ubuntu....t=getubuntu.pngubuntu.com
“Never trust a computer you can’t throw out a window.” -Steve Wozniak

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Yep. The code should run fine in compatibility mode. How're you going to try to run it?
sudo rm -rf /

#3
instantcake

instantcake

    Learning Programmer

  • Members
  • PipPipPip
  • 63 posts
ummm well I'm just going to link? it (very new to this don't know the correct term) and (attempt) to run the exe? thats what I was /going/ to do but maybe not now
Posted Imagehttps://wiki.ubuntu....t=getubuntu.pngubuntu.com
“Never trust a computer you can’t throw out a window.” -Steve Wozniak

#4
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
That'll work. The i7 is x86-64, so it'll run that natively. 32-bit programs have to be run in IA32e mode, which your OS will do behind your back.
sudo rm -rf /

#5
instantcake

instantcake

    Learning Programmer

  • Members
  • PipPipPip
  • 63 posts
go letting the OS do all the work! thank you.
Posted Imagehttps://wiki.ubuntu....t=getubuntu.pngubuntu.com
“Never trust a computer you can’t throw out a window.” -Steve Wozniak




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users