mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 01:09:06 +02:00
+ implemented Sptr
git-svn-id: branches/z80@44967 -
This commit is contained in:
parent
4e4cb4fd9d
commit
c616c8df32
@ -108,8 +108,10 @@ function get_caller_frame(framebp:pointer;addr:pointer=nil):pointer;assembler;
|
|||||||
|
|
||||||
|
|
||||||
{$define FPC_SYSTEM_HAS_SPTR}
|
{$define FPC_SYSTEM_HAS_SPTR}
|
||||||
Function Sptr : pointer;assembler;
|
Function Sptr : pointer;assembler;nostackframe;
|
||||||
asm
|
asm
|
||||||
|
ld hl, 0
|
||||||
|
add hl, sp
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user