]> Zhao Yanbai Git Server - minix.git/commitdiff
correct opcode of FNSTSW (hopefully fixes minix under virtualpc)
authorBen Gras <ben@minix3.org>
Mon, 25 Jan 2010 16:25:20 +0000 (16:25 +0000)
committerBen Gras <ben@minix3.org>
Mon, 25 Jan 2010 16:25:20 +0000 (16:25 +0000)
commands/i386/gas2ack/emit_ack.c

index 585ad67e6c0bfbe84d032d6ee0c6002a71af7867..0dd8789047a63af5459d40abf5f734147948069a 100644 (file)
@@ -642,7 +642,7 @@ void ack_emit_instruction(asm86_t *a)
                }
                /* unsupported fnstsw */
                if (a->opcode == FNSTSW) {
-                       ack_printf(".data1 0xDF, 0xD0\n"); /* FNSTSW [eax] */
+                       ack_printf(".data1 0xDF, 0xE0\n"); /* FNSTSW [eax] */
                        return;
                }
                /* unsupported frstor */