Ari F.

asked • 10/02/22

How much do CPU Instruction Sets vary from each other?

Meaning if I take two random CPU instruction sets, how similar would they be to each other in the sense of the kinds of commands they take. As in, do they call the same set of instructions (add, compare, move, etc) just assigned to different binaries?


Also in this same vein, if they are similar couldn't you theoretically map each instruction to its specific binary and create a multi-platform compiler, or a universal intermediate assembly language?


Edit: typos

1 Expert Answer

By:

Diamond D. answered • 10/16/22

Tutor
New to Wyzant

Google Intern x2, Go Programmer, Linux Enthusiast

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.