浏览代码

* 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)
       }
       asm
+         push    ebx
          pushf
          pushf
          pop     eax
@@ -51,6 +52,7 @@ unit cpu;
          and     ebx,200000h
          cmp     eax,ebx
          setnz   al
+         pop     ebx
       end;