I am trying to read through the intel IA-32 manuals and have found the hex codes for the instructions. I am not sure why but nasm produces "83 C0 FF" when I compile the following simple program.
BITS 32;
start:
ADD EAX, 0FFFFFFFFh
Is this a problem? Does FF encode FFFFFFFFh? Why the does it seem to assemble the way it should when I use EFFFFFFFh instead, producing "83 C0 EF FF FF FF".
I am most probably missing something but the opcode and MODr/m bytes seem all right while the opcode doesnt seem right.
Could someone tell me what it is that produces this?
Thanks,
Brandon