* wrong use of Intel syntax

This commit is contained in:
Tomas Hajny 2003-10-12 17:52:28 +00:00
parent 0c57354221
commit a809462de2
2 changed files with 14 additions and 8 deletions

View File

@ -304,10 +304,10 @@ asm
movl size,%edx
movw $0x7f00,%eax
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
dec eax { No error - back to previous value }
@Sbrk_End:
dec %eax { No error - back to previous value }
.Sbrk_End:
end ['eax', 'edx'];
{$ENDIF DUMPGROW}
@ -1243,7 +1243,10 @@ begin
end.
{
$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
Revision 1.10 2003/10/07 21:33:24 hajny

View File

@ -475,10 +475,10 @@ asm
movl size,%edx
movw $0x7f00,%ax
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
dec eax { No error - back to previous value }
@Sbrk_End:
dec %eax { No error - back to previous value }
.Sbrk_End:
end ['eax', 'edx'];
{$ENDIF DUMPGROW}
@ -1158,7 +1158,10 @@ begin
end.
{
$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
Revision 1.40 2003/10/07 21:26:35 hajny