mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 20:29:23 +02:00
* wrong use of Intel syntax
This commit is contained in:
parent
0c57354221
commit
a809462de2
@ -304,10 +304,10 @@ asm
|
|||||||
movl size,%edx
|
movl size,%edx
|
||||||
movw $0x7f00,%eax
|
movw $0x7f00,%eax
|
||||||
call syscall
|
call syscall
|
||||||
inc eax { Result in EAX, -1 = error (has to be transformed to 0) }
|
inc %eax { Result in EAX, -1 = error (has to be transformed to 0) }
|
||||||
jz Sbrk_End
|
jz Sbrk_End
|
||||||
dec eax { No error - back to previous value }
|
dec %eax { No error - back to previous value }
|
||||||
@Sbrk_End:
|
.Sbrk_End:
|
||||||
end ['eax', 'edx'];
|
end ['eax', 'edx'];
|
||||||
{$ENDIF DUMPGROW}
|
{$ENDIF DUMPGROW}
|
||||||
|
|
||||||
@ -1243,7 +1243,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.11 2003-10-12 10:45:36 hajny
|
Revision 1.12 2003-10-12 17:52:28 hajny
|
||||||
|
* wrong use of Intel syntax
|
||||||
|
|
||||||
|
Revision 1.11 2003/10/12 10:45:36 hajny
|
||||||
* sbrk error handling corrected
|
* sbrk error handling corrected
|
||||||
|
|
||||||
Revision 1.10 2003/10/07 21:33:24 hajny
|
Revision 1.10 2003/10/07 21:33:24 hajny
|
||||||
|
@ -475,10 +475,10 @@ asm
|
|||||||
movl size,%edx
|
movl size,%edx
|
||||||
movw $0x7f00,%ax
|
movw $0x7f00,%ax
|
||||||
call syscall
|
call syscall
|
||||||
inc eax { Result in EAX, -1 = error (has to be transformed to 0) }
|
inc %eax { Result in EAX, -1 = error (has to be transformed to 0) }
|
||||||
jz Sbrk_End
|
jz Sbrk_End
|
||||||
dec eax { No error - back to previous value }
|
dec %eax { No error - back to previous value }
|
||||||
@Sbrk_End:
|
.Sbrk_End:
|
||||||
end ['eax', 'edx'];
|
end ['eax', 'edx'];
|
||||||
{$ENDIF DUMPGROW}
|
{$ENDIF DUMPGROW}
|
||||||
|
|
||||||
@ -1158,7 +1158,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.41 2003-10-12 10:45:36 hajny
|
Revision 1.42 2003-10-12 17:52:28 hajny
|
||||||
|
* wrong use of Intel syntax
|
||||||
|
|
||||||
|
Revision 1.41 2003/10/12 10:45:36 hajny
|
||||||
* sbrk error handling corrected
|
* sbrk error handling corrected
|
||||||
|
|
||||||
Revision 1.40 2003/10/07 21:26:35 hajny
|
Revision 1.40 2003/10/07 21:26:35 hajny
|
||||||
|
Loading…
Reference in New Issue
Block a user