mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 18:39:19 +02:00
* use 16-bit LEA directly in fpc_SetJmp, since that instruction is now supported
by the compiler git-svn-id: trunk@25809 -
This commit is contained in:
parent
4aa010eedc
commit
f30fddec53
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user