mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 05:40:20 +02:00
* wrong use of Intel syntax
This commit is contained in:
parent
a809462de2
commit
ff73604297
@ -305,7 +305,7 @@ asm
|
|||||||
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'];
|
||||||
@ -1243,7 +1243,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.12 2003-10-12 17:52:28 hajny
|
Revision 1.13 2003-10-12 17:59:40 hajny
|
||||||
|
* wrong use of Intel syntax
|
||||||
|
|
||||||
|
Revision 1.12 2003/10/12 17:52:28 hajny
|
||||||
* wrong use of Intel syntax
|
* wrong use of Intel syntax
|
||||||
|
|
||||||
Revision 1.11 2003/10/12 10:45:36 hajny
|
Revision 1.11 2003/10/12 10:45:36 hajny
|
||||||
|
@ -476,7 +476,7 @@ asm
|
|||||||
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'];
|
||||||
@ -1158,7 +1158,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.42 2003-10-12 17:52:28 hajny
|
Revision 1.43 2003-10-12 17:59:40 hajny
|
||||||
|
* wrong use of Intel syntax
|
||||||
|
|
||||||
|
Revision 1.42 2003/10/12 17:52:28 hajny
|
||||||
* wrong use of Intel syntax
|
* wrong use of Intel syntax
|
||||||
|
|
||||||
Revision 1.41 2003/10/12 10:45:36 hajny
|
Revision 1.41 2003/10/12 10:45:36 hajny
|
||||||
|
Loading…
Reference in New Issue
Block a user