Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
decoding single instruction
I want to make a function that decodes
any single instruction.
Opcode Instruction Description
89 /r MOV r/m16,r16 Move r16 to r/m16
this is from intels INSTRUCTION SET REFERENCE
So I am wondering is this opcode same for
evry procesor from 8086 to P4
or does for example 386 have diferent opcode
even if the instuction has the same mnemonic
and does the same thing.
In other words do same instructions have diferent opcodes
depending on the processor generation.
I am thinking like there could be an old and a new
version with new processor supporting both.
What other documentation do you recommend.
0 · ·