瀏覽代碼

* compilation of i8086 rtl fixed (seems like the fpc asm reader doesn't support 16-bit LEA, so hardcode it with DB for now)

git-svn-id: trunk@25806 -
nickysn 11 年之前
父節點
當前提交
9be15583af
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      rtl/i8086/setjump.inc

+ 3 - 1
rtl/i8086/setjump.inc

@@ -25,7 +25,9 @@ asm
   mov ax, word ss:[si + 2]
   mov word [bx + Jmp_buf.cs], ax
 {$endif FPC_X86_CODE_FAR}
-  lea ax, [si + 4 + extra_param_offset]
+  // 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
   mov word [bx + Jmp_buf.sp], ax
 
   xor ax, ax