mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 23:50:23 +02:00
get_frame to return a5 on Amiga
git-svn-id: trunk@23268 -
This commit is contained in:
parent
79a0f706de
commit
0702109f37
@ -36,7 +36,11 @@ procedure fpc_cpuinit;
|
||||
{$define FPC_SYSTEM_HAS_GET_FRAME}
|
||||
function get_frame : pointer; assembler;nostackframe;
|
||||
asm
|
||||
{$if defined(amiga)}
|
||||
move.l a5,d0
|
||||
{$else}
|
||||
move.l a6,d0
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user