Intel has lists of the commands for their different processors, depending on what processor you want to write for. As the 80x86 processor family developed, commands were added that previous processors wouldn't interpret correctly, so you'd have to decide how backward compatible you want to be.