x86 is definitely not the best, firstly, the assembly to study. if at all this is the last one you want to know. checkout https://github.com/dwelch67 lsasim is a set of instructions designed to teach collection. pcemu_samples is a modified pcemu (8086/88 emulator capable of running dos), with the removal of bios / dos calls, especially for learning the 8088/86 assembler. I recommend that when you get closer to building x86, you start with 8088/86, something like pcemu_samples (where you are forced to focus on assembler rather than system calls). dosbox and bochs can run 8088/86 programs with dos / bios when you want to switch to system calls. Then move on to 32 and 64-bit enhancements, multi-core and all that.
You will benefit greatly by learning x86 in the past. msp430, lsasim thing above, hand, thumb (not thumb2) are all good starting points. Learning a few different sets of instructions, at least if not many, will also be of great benefit to you. I have simulators for some of them that give you good visibility in what is happening, I recommend that you first study on simulators, simulators on which you can get visibility.
if you start with 8088/86 and then go to 386/486 and then go to x64, the other answers you get about sorta instructions working everywhere will make a lot of sense.
old_timer
source share