On 25 Jul 2000, Alexandre Julliard wrote:

> No, just output the raw instruction bytes with .byte (and a comment
> explaining what instruction it was supposed to be ;-). We are already
> doing this at a few places for "exotic" instructions.

Fine. Apply this, then...

Index: wine/msdos/dpmi.c
===================================================================
RCS file: /home/wine/wine/msdos/dpmi.c,v
retrieving revision 1.37
diff -u -r1.37 dpmi.c
--- wine/msdos/dpmi.c   2000/07/25 12:24:39     1.37
+++ wine/msdos/dpmi.c   2000/07/25 23:45:13
@@ -221,7 +219,7 @@
                  "pushfl\n"
                  "mov %7,%%es\n"
                  "mov %5,%%ds\n"
-                 ".byte 0x36; lcall *(%3)\n"
+                 ".byte 0x36, 0xff, 0x18\n" /* lcall *%ss:(%eax) */
                  "popl %%ds\n"
                  "mov %%es,%0\n"
                  "popl %%es\n"

Reply via email to