It seems that this 8086 instruction:
add ax, 0x22
Can be encoded in two different ways: 83 C0 22
and 05 22 00
.
Microsoft Macro Assembler compiles it into 05 22 00
, whereas the Keystone Assembler compiles it into 83 C0 22
(https://alexaltea.github.io/keystone.js/).
Is one of the two options considered "wrong"?
If not, then does either option have any advantage over the other?