Browse Source

* wrong use of Intel syntax

Tomas Hajny 22 years ago
parent
commit
a809462de2
2 changed files with 14 additions and 8 deletions
  1. 7 4
      rtl/emx/system.pas
  2. 7 4
      rtl/os2/system.pas

+ 7 - 4
rtl/emx/system.pas

@@ -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

+ 7 - 4
rtl/os2/system.pas

@@ -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