Преглед на файлове

* and yet more ebx saving/restoring

git-svn-id: trunk@4176 -
Jonas Maebe преди 19 години
родител
ревизия
982c1a39c4
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      rtl/i386/cpu.pp

+ 2 - 0
rtl/i386/cpu.pp

@@ -37,6 +37,7 @@ unit cpu;
         Tested under go32v1 and Linux on c6x86 with CpuID enabled and disabled (PFV)
         Tested under go32v1 and Linux on c6x86 with CpuID enabled and disabled (PFV)
       }
       }
       asm
       asm
+         push    ebx
          pushf
          pushf
          pushf
          pushf
          pop     eax
          pop     eax
@@ -51,6 +52,7 @@ unit cpu;
          and     ebx,200000h
          and     ebx,200000h
          cmp     eax,ebx
          cmp     eax,ebx
          setnz   al
          setnz   al
+         pop     ebx
       end;
       end;