mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 09:20:33 +02:00
* Use correct sign extension for FPC_DOSYS1w
git-svn-id: trunk@20775 -
This commit is contained in:
parent
b98529673c
commit
db3346994c
@ -89,7 +89,7 @@ function FpSysCall(sysnr,param1:TSysParam):TSysResult; oldfpccall; assembler;[pu
|
|||||||
function FpSysCall(sysnr,param1:integer):TSysResult; oldfpccall;assembler;[public,alias:'FPC_DOSYS1w'];
|
function FpSysCall(sysnr,param1:integer):TSysResult; oldfpccall;assembler;[public,alias:'FPC_DOSYS1w'];
|
||||||
|
|
||||||
asm
|
asm
|
||||||
movl sysnr,%eax
|
movswl sysnr,%eax
|
||||||
pushw Param1
|
pushw Param1
|
||||||
call actualsyscall
|
call actualsyscall
|
||||||
add $2,%esp
|
add $2,%esp
|
||||||
|
Loading…
Reference in New Issue
Block a user