Browse Source

* use 16-bit LEA directly in fpc_SetJmp, since that instruction is now supported
by the compiler

git-svn-id: trunk@25809 -

nickysn 11 years ago
parent
commit
f30fddec53
1 changed files with 1 additions and 3 deletions
  1. 1 3
      rtl/i8086/setjump.inc

+ 1 - 3
rtl/i8086/setjump.inc

@@ -25,9 +25,7 @@ asm
   mov ax, word ss:[si + 2]
   mov word [bx + Jmp_buf.cs], ax
 {$endif FPC_X86_CODE_FAR}
-  // the fpc inline asm reader doesn't support 16-bit LEA it seems...
-  // lea ax, [si + 4 + extra_param_offset]
-  db 08Dh, 044h, 4 + extra_param_offset
+  lea ax, [si + 4 + extra_param_offset]
   mov word [bx + Jmp_buf.sp], ax
 
   xor ax, ax