I'm trying to write some code using the opcode I found in the x86 processor opcode documentation I found on Intels homepage (link: http://developer.intel.com/design/PentiumII/manuals/243191.htm
) and the opcode reference found in the masm32 install package. I have succesfuly made some simple stuff like this: B801000000C3H which stores 01H in eax and then returns.
However I don't understand how to read most of the documentation for the different opcodes. For example I would like to implement the CALLF instruktion.
The documentation in masm32 says:
9A cp CALL ptr16:32 Call far, absolute, address given in operand
So I thought that to call a function at address 00C40000H would be
9A0000C400H however that crashes.
Anyone know how it should be?