mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 21:29:15 +02:00
* FillChar changed to a pure assembler procedure
git-svn-id: branches/z80@44965 -
This commit is contained in:
parent
7bfce62302
commit
2aa248bba2
@ -56,10 +56,9 @@ end;
|
||||
|
||||
|
||||
{$define FPC_SYSTEM_HAS_FILLCHAR}
|
||||
Procedure FillChar(var x;count:SizeInt;value:byte);
|
||||
Procedure FillChar(var x;count:SizeInt;value:byte);assembler;
|
||||
label
|
||||
skip, loop;
|
||||
begin
|
||||
asm
|
||||
ld c, (count)
|
||||
ld b, (count+1)
|
||||
@ -84,7 +83,6 @@ loop:
|
||||
jp NZ, loop
|
||||
skip:
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
{$IFNDEF INTERNAL_BACKTRACE}
|
||||
|
Loading…
Reference in New Issue
Block a user