I’m interested in learning assembly. Basically I want to know if there are different languages (assembly) between different CPUs. If I had a modern Intel x86 processor, and an Intel x86 processor from a year ago would the assembly code by compatible across those two machines? Could I run that code on both machines without having to learn an entire other book of assembly instructions?
I’m interested in learning assembly. Basically I want to know if there are different
Share
Yes, almost certainly. Silicon vendors try to keep their instruction sets relatively stable in order to make life easier on the compiler writers and software developers in general. Every once in a while some new instructions crop up, or some old ones stop working. But it doesn’t happen very often, especially on Intel.
Again, almost certainly yes. But there are always exceptions. You might find the Intel Software Developers Manuals to be interesting reading.