[fpc-devel] (patch) fixes two i386 opcodes

Sergei Gorelkin sergei_gorelkin at mail.ru
Sat Nov 8 13:35:26 CET 2008


Hello,

The attached patch fixes two opcodes generated by i386 internal assembler.
The first one fixes the "mov ax, word ptr [somevar]" command which was 
generated without $66 prefix (reported by freepascal.ru forum user, 
don't know if it is in bugtracker).
The second one fixes ModRM generated from the wrong operand for "test" 
instruction, should fix #11786.

Regards,
Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opcodes.zip
Type: application/x-zip-compressed
Size: 837 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20081108/e60d4d6d/attachment.bin>


More information about the fpc-devel mailing list