Browse Source

* correctly allocate the space for the 5 registers that are stored

git-svn-id: trunk@38054 -
svenbarth 7 years ago
parent
commit
8522474457
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/m68k/int64p.inc

+ 2 - 2
rtl/m68k/int64p.inc

@@ -26,7 +26,7 @@ asm
 {$ifndef CPUCOLDFIRE}
 {$ifndef CPUCOLDFIRE}
     movem.l  d2-d5,-(sp)
     movem.l  d2-d5,-(sp)
 {$else}
 {$else}
-    tst.l    -(sp)
+    lea      -20(sp),sp
     movem.l  d2-d6,(sp)
     movem.l  d2-d6,(sp)
 {$endif}
 {$endif}
     move.l   d0,d5
     move.l   d0,d5
@@ -104,7 +104,7 @@ asm
     move.l   d1,d0
     move.l   d1,d0
     move.l   d2,d1
     move.l   d2,d1
     movem.l  (sp),d2-d6
     movem.l  (sp),d2-d6
-    tst.l    (sp)+
+    lea      20(sp),sp
 {$endif}
 {$endif}
     rts
     rts