NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: ksridh on June 27, 2016, 04:12:08 AM

Title: Running Intel assembly programming code on AMD Phenom(tm) II X6 1090T Processor
Post by: ksridh on June 27, 2016, 04:12:08 AM
Hi, I have started learning Assembly and videos are based on Intel architecture and my desktop has a AMD Phenom(tm) II X6 1090T Processor. I want to practice those codes in the few videos I have seen till date but don't know how to setup some environment for running Intel Assembly on AMD Phenom machine. Your help is very much appreciated....Thanks....
Title: Re: Running Intel assembly programming code on AMD Phenom(tm) II X6 1090T Processor
Post by: soulvomit on June 30, 2016, 12:48:09 PM
AMD Phenom II supports these instruction sets; x86, x86-64, MMX, SSE, SSE2, SSE3, SSE4a. So as long a the instructions you wish to assemble are found in those instruction sets, you are good to go.

There is no differences between Intel and AMD versions of the instruction sets.

Note on bootloader/kernel programming: If you doing "environmental" changes to the CPU (such as; setting up a specific memory model, paging or execution method) there might be some architectural differences between AMD and Intel. I don't think there is, but someone more knowledgeable on kernel programming might be able to answer this.

Thank you.