Przeglądaj źródła

* and yet more ebx saving/restoring

git-svn-id: trunk@4176 -
Jonas Maebe 19 lat temu
rodzic
commit
982c1a39c4
1 zmienionych plików z 2 dodań i 0 usunięć
  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)
       }
       asm
+         push    ebx
          pushf
          pushf
          pop     eax
@@ -51,6 +52,7 @@ unit cpu;
          and     ebx,200000h
          cmp     eax,ebx
          setnz   al
+         pop     ebx
       end;