|
@@ -461,9 +461,9 @@ begin
|
|
movw $0x7f00,%ax
|
|
movw $0x7f00,%ax
|
|
call syscall { result directly in EAX }
|
|
call syscall { result directly in EAX }
|
|
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 .LSbrk_End
|
|
dec eax { No error - back to previous value }
|
|
dec eax { No error - back to previous value }
|
|
-@Sbrk_End:
|
|
|
|
|
|
+.LSbrk_End:
|
|
mov %eax,L
|
|
mov %eax,L
|
|
end ['eax', 'edx'];
|
|
end ['eax', 'edx'];
|
|
WriteLn ('New heap at ', L);
|
|
WriteLn ('New heap at ', L);
|
|
@@ -476,9 +476,9 @@ 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 .LSbrk_End
|
|
dec %eax { No error - back to previous value }
|
|
dec %eax { No error - back to previous value }
|
|
-.Sbrk_End:
|
|
|
|
|
|
+.LSbrk_End:
|
|
end ['eax', 'edx'];
|
|
end ['eax', 'edx'];
|
|
{$ENDIF DUMPGROW}
|
|
{$ENDIF DUMPGROW}
|
|
|
|
|
|
@@ -1158,7 +1158,10 @@ begin
|
|
end.
|
|
end.
|
|
{
|
|
{
|
|
$Log$
|
|
$Log$
|
|
- Revision 1.43 2003-10-12 17:59:40 hajny
|
|
|
|
|
|
+ Revision 1.44 2003-10-12 18:07:30 hajny
|
|
|
|
+ * wrong use of Intel syntax
|
|
|
|
+
|
|
|
|
+ Revision 1.43 2003/10/12 17:59:40 hajny
|
|
* wrong use of Intel syntax
|
|
* wrong use of Intel syntax
|
|
|
|
|
|
Revision 1.42 2003/10/12 17:52:28 hajny
|
|
Revision 1.42 2003/10/12 17:52:28 hajny
|