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....
Asked
Active
Viewed 172 times
1
-
4It's no different than how to set up one on an Intel x86 processor. – Ross Ridge Jun 27 '16 at 05:03
-
See also http://stackoverflow.com/questions/37980591/how-can-intel-and-amd-be-different-but-still-compatible. IDK if I should mark this as a duplicate, since it's sort of the opposite question. – Peter Cordes Jun 27 '16 at 17:47
1 Answers
2
Both Intel and AMD make processors that use the x86 architecture. If you write an assembly program for Intel processors, it also runs on AMD processors and vice versa. Just follow the instructions in the video, you won't notice a difference.

fuz
- 88,405
- 25
- 200
- 352
-
Thanks Ross and FUZxxl....So I can install NASM in a VM running Ubuntu 8.1 and then start working in it on assembly code?.... – Karthik Sridharan Jun 27 '16 at 07:44
-
2@KarthikSridharan You don't even need a VM, you can program on your computer directly. If you run a VM, it doesn't matter at all what the host system's CPU is as the VM abstracts away this kind of thing. – fuz Jun 27 '16 at 07:57
-
Thanks....I asked this specifically since those videos I'm following are for Linux OS....Happy to hear that I can run in a VM without any problem of AMD and Intel clash.... – Karthik Sridharan Jun 27 '16 at 08:35
-
@KarthikSridharan: Just keep in mind the x86 instruction set is being extended by almost each generation of x86 processors. So like the new AVX instructions may be not supported by older AMD CPU. But if you are following some ASM tutorial videos, don't worry about this, they will stay around 80386 level (year 1985) most of the time. After learning that you will have no problem to read about the last 30y extensions and decide what you need. Your AMD is much more compatible than that. :) – Ped7g Jun 27 '16 at 10:53