diff --git a/test/test11/golden.s b/test/test11/golden.s index 7bf9a98..ead9461 100644 --- a/test/test11/golden.s +++ b/test/test11/golden.s @@ -4934,7 +4934,8 @@ _GREATEFFECT: move.l d1,d0 add.l d1,d0 add.l d0,d0 - move.l _GfxBase,a6 + lea _GfxBase,a0 + move.l (a0),a6 move.w #44,a0 lea _MyScreen,a1 add.l (a1,d0.l),a0 @@ -6158,7 +6159,8 @@ _GREATEFFECT: and.l #255,d2 add.l d2,d2 add.l d2,d2 - move.l _GfxBase,a6 + lea _GfxBase,a2 + move.l (a2),a6 move.w #84,a1 lea _MyScreen,a0 add.l (a0,d2.l),a1 @@ -6168,8 +6170,8 @@ _GREATEFFECT: jsr a6@(-0x156:W) #NO_APP moveq #0,d0 - lea _AScr,a2 - move.b (a2),d0 + lea _AScr,a3 + move.b (a3),d0 add.l d0,d0 add.l d0,d0 move.w #84,a1 @@ -6184,7 +6186,7 @@ _GREATEFFECT: jsr a6@(-0x132:W) #NO_APP moveq #0,d0 - move.b (a2),d0 + move.b (a3),d0 add.l d0,d0 add.l d0,d0 move.l _IntuitionBase,a6 @@ -6196,11 +6198,11 @@ _GREATEFFECT: #NO_APP moveq #3,d0 sub.b _AScr,d0 - move.b d0,(a2) + move.b d0,(a3) and.l #255,d0 add.l d0,d0 add.l d0,d0 - move.l _GfxBase,a6 + move.l (a2),a6 move.w #84,a1 lea _MyScreen,a0 add.l (a0,d0.l),a1 @@ -6210,7 +6212,7 @@ _GREATEFFECT: jsr a6@(-0x156:W) #NO_APP moveq #0,d0 - move.b (a2),d0 + move.b (a3),d0 add.l d0,d0 add.l d0,d0 move.w #84,a1 @@ -6223,7 +6225,7 @@ _GREATEFFECT: jsr a6@(-0x132:W) #NO_APP moveq #0,d0 - move.b (a2),d0 + move.b (a3),d0 add.l d0,d0 add.l d0,d0 move.l _IntuitionBase,a6 @@ -6235,7 +6237,7 @@ _GREATEFFECT: #NO_APP moveq #3,d0 sub.b _AScr,d0 - move.b d0,(a2) + move.b d0,(a3) move.w #12,_custom+150 movem.l (sp)+,#31996 lea (24,sp),sp @@ -6358,7 +6360,6 @@ _GREATEFFECT: move.l d0,-(sp) jsr (a5) move.l d0,d1 - move.l _GfxBase,a6 move.l d4,a1 move.l d3,d0 #APP @@ -6478,7 +6479,6 @@ _GREATEFFECT: move.l d0,-(sp) jsr (a5) move.l d0,d1 - move.l _GfxBase,a6 move.l d4,a1 move.l d3,d0 #APP @@ -10344,9 +10344,6 @@ _MAININTRO: move.l a2,d2 move.l a4,d3 moveq #49,d4 - moveq #90,d5 - moveq #63,d6 - not.b d6 #APP | 535 "test.c" 1 jsr a6@(-0x25e:W) @@ -10752,9 +10749,6 @@ _MAININTRO: move.l a2,d2 move.l a4,d3 moveq #41,d4 - moveq #90,d5 - moveq #63,d6 - not.b d6 #APP | 556 "test.c" 1 jsr a6@(-0x25e:W) @@ -11144,8 +11138,6 @@ _MAININTRO: move.l d1,d3 move.l #640,d4 moveq #75,d5 - moveq #63,d6 - not.b d6 #APP | 631 "test.c" 1 jsr a6@(-0x228:W) @@ -11296,10 +11288,7 @@ _MAININTRO: lea (84,a1),a1 moveq #0,d2 move.l d1,d3 - move.l #640,d4 moveq #100,d5 - moveq #63,d6 - not.b d6 #APP | 698 "test.c" 1 jsr a6@(-0x228:W) @@ -11404,7 +11393,6 @@ _MAININTRO: add.l d2,d0 move.l d0,a1 add.l d0,a1 - move.l _GfxBase,a6 move.w #84,a0 add.l (a5,d1.l),a0 moveq #0,d0 @@ -11414,10 +11402,7 @@ _MAININTRO: lea (84,a1),a1 moveq #0,d2 move.l d1,d3 - move.l #640,d4 moveq #37,d5 - moveq #63,d6 - not.b d6 #APP | 755 "test.c" 1 jsr a6@(-0x228:W) @@ -11515,7 +11500,8 @@ _MAININTRO: #NO_APP clr.l _MyScreen+8 .L496: - move.l _SysBase,a6 + lea _SysBase,a0 + move.l (a0),a6 lea _IMemA,a0 move.l (a0),a1 lea _IMemL,a0 @@ -11563,7 +11549,8 @@ _MAININTRO: #NO_APP move.l #-16777216,d4 .L497: - move.l _GfxBase,a6 + lea _GfxBase,a0 + move.l (a0),a6 move.w #44,a0 add.l _MyScreen+8,a0 moveq #0,d0 @@ -11643,12 +11630,9 @@ _MAININTRO: moveq #75,d1 move.w #84,a1 add.l _MyScreen+4,a1 - moveq #0,d2 moveq #75,d3 move.l #640,d4 move.l #360,d5 - moveq #63,d6 - not.b d6 #APP | 876 "test.c" 1 jsr a6@(-0x228:W) @@ -11665,9 +11649,9 @@ _MAININTRO: move.l d0,d4 addq.l #8,sp jeq .L503 - move.l _DOSBase,a6 + lea _DOSBase,a0 + move.l (a0),a6 move.l d0,d1 - moveq #0,d2 moveq #1,d3 #APP | 882 "test.c" 1 @@ -12219,7 +12203,6 @@ _MAININTRO: moveq #0,d0 moveq #-8,d1 moveq #0,d2 - moveq #75,d3 move.l #639,d4 move.l #434,d5 #APP @@ -12237,8 +12220,6 @@ _MAININTRO: move.l a0,a1 move.l a2,d4 moveq #8,d5 - moveq #63,d6 - not.b d6 #APP | 936 "test.c" 1 jsr a6@(-0x228:W) @@ -12374,8 +12355,6 @@ _MAININTRO: move.l a0,a1 move.l #640,d4 moveq #8,d5 - moveq #63,d6 - not.b d6 #APP | 954 "test.c" 1 jsr a6@(-0x228:W) @@ -12653,7 +12632,8 @@ _MAININTRO: add.l d1,d0 move.l d0,a1 add.l d0,a1 - move.l _GfxBase,a6 + lea _GfxBase,a0 + move.l (a0),a6 move.l d3,a0 moveq #0,d0 moveq #0,d1 @@ -12663,8 +12643,6 @@ _MAININTRO: moveq #75,d3 move.l #640,d4 move.l #360,d5 - moveq #63,d6 - not.b d6 #APP | 983 "test.c" 1 jsr a6@(-0x25e:W) diff --git a/test/test11/test.s b/test/test11/test.s index 7bf9a98..ead9461 100644 --- a/test/test11/test.s +++ b/test/test11/test.s @@ -4934,7 +4934,8 @@ _GREATEFFECT: move.l d1,d0 add.l d1,d0 add.l d0,d0 - move.l _GfxBase,a6 + lea _GfxBase,a0 + move.l (a0),a6 move.w #44,a0 lea _MyScreen,a1 add.l (a1,d0.l),a0 @@ -6158,7 +6159,8 @@ _GREATEFFECT: and.l #255,d2 add.l d2,d2 add.l d2,d2 - move.l _GfxBase,a6 + lea _GfxBase,a2 + move.l (a2),a6 move.w #84,a1 lea _MyScreen,a0 add.l (a0,d2.l),a1 @@ -6168,8 +6170,8 @@ _GREATEFFECT: jsr a6@(-0x156:W) #NO_APP moveq #0,d0 - lea _AScr,a2 - move.b (a2),d0 + lea _AScr,a3 + move.b (a3),d0 add.l d0,d0 add.l d0,d0 move.w #84,a1 @@ -6184,7 +6186,7 @@ _GREATEFFECT: jsr a6@(-0x132:W) #NO_APP moveq #0,d0 - move.b (a2),d0 + move.b (a3),d0 add.l d0,d0 add.l d0,d0 move.l _IntuitionBase,a6 @@ -6196,11 +6198,11 @@ _GREATEFFECT: #NO_APP moveq #3,d0 sub.b _AScr,d0 - move.b d0,(a2) + move.b d0,(a3) and.l #255,d0 add.l d0,d0 add.l d0,d0 - move.l _GfxBase,a6 + move.l (a2),a6 move.w #84,a1 lea _MyScreen,a0 add.l (a0,d0.l),a1 @@ -6210,7 +6212,7 @@ _GREATEFFECT: jsr a6@(-0x156:W) #NO_APP moveq #0,d0 - move.b (a2),d0 + move.b (a3),d0 add.l d0,d0 add.l d0,d0 move.w #84,a1 @@ -6223,7 +6225,7 @@ _GREATEFFECT: jsr a6@(-0x132:W) #NO_APP moveq #0,d0 - move.b (a2),d0 + move.b (a3),d0 add.l d0,d0 add.l d0,d0 move.l _IntuitionBase,a6 @@ -6235,7 +6237,7 @@ _GREATEFFECT: #NO_APP moveq #3,d0 sub.b _AScr,d0 - move.b d0,(a2) + move.b d0,(a3) move.w #12,_custom+150 movem.l (sp)+,#31996 lea (24,sp),sp @@ -6358,7 +6360,6 @@ _GREATEFFECT: move.l d0,-(sp) jsr (a5) move.l d0,d1 - move.l _GfxBase,a6 move.l d4,a1 move.l d3,d0 #APP @@ -6478,7 +6479,6 @@ _GREATEFFECT: move.l d0,-(sp) jsr (a5) move.l d0,d1 - move.l _GfxBase,a6 move.l d4,a1 move.l d3,d0 #APP @@ -10344,9 +10344,6 @@ _MAININTRO: move.l a2,d2 move.l a4,d3 moveq #49,d4 - moveq #90,d5 - moveq #63,d6 - not.b d6 #APP | 535 "test.c" 1 jsr a6@(-0x25e:W) @@ -10752,9 +10749,6 @@ _MAININTRO: move.l a2,d2 move.l a4,d3 moveq #41,d4 - moveq #90,d5 - moveq #63,d6 - not.b d6 #APP | 556 "test.c" 1 jsr a6@(-0x25e:W) @@ -11144,8 +11138,6 @@ _MAININTRO: move.l d1,d3 move.l #640,d4 moveq #75,d5 - moveq #63,d6 - not.b d6 #APP | 631 "test.c" 1 jsr a6@(-0x228:W) @@ -11296,10 +11288,7 @@ _MAININTRO: lea (84,a1),a1 moveq #0,d2 move.l d1,d3 - move.l #640,d4 moveq #100,d5 - moveq #63,d6 - not.b d6 #APP | 698 "test.c" 1 jsr a6@(-0x228:W) @@ -11404,7 +11393,6 @@ _MAININTRO: add.l d2,d0 move.l d0,a1 add.l d0,a1 - move.l _GfxBase,a6 move.w #84,a0 add.l (a5,d1.l),a0 moveq #0,d0 @@ -11414,10 +11402,7 @@ _MAININTRO: lea (84,a1),a1 moveq #0,d2 move.l d1,d3 - move.l #640,d4 moveq #37,d5 - moveq #63,d6 - not.b d6 #APP | 755 "test.c" 1 jsr a6@(-0x228:W) @@ -11515,7 +11500,8 @@ _MAININTRO: #NO_APP clr.l _MyScreen+8 .L496: - move.l _SysBase,a6 + lea _SysBase,a0 + move.l (a0),a6 lea _IMemA,a0 move.l (a0),a1 lea _IMemL,a0 @@ -11563,7 +11549,8 @@ _MAININTRO: #NO_APP move.l #-16777216,d4 .L497: - move.l _GfxBase,a6 + lea _GfxBase,a0 + move.l (a0),a6 move.w #44,a0 add.l _MyScreen+8,a0 moveq #0,d0 @@ -11643,12 +11630,9 @@ _MAININTRO: moveq #75,d1 move.w #84,a1 add.l _MyScreen+4,a1 - moveq #0,d2 moveq #75,d3 move.l #640,d4 move.l #360,d5 - moveq #63,d6 - not.b d6 #APP | 876 "test.c" 1 jsr a6@(-0x228:W) @@ -11665,9 +11649,9 @@ _MAININTRO: move.l d0,d4 addq.l #8,sp jeq .L503 - move.l _DOSBase,a6 + lea _DOSBase,a0 + move.l (a0),a6 move.l d0,d1 - moveq #0,d2 moveq #1,d3 #APP | 882 "test.c" 1 @@ -12219,7 +12203,6 @@ _MAININTRO: moveq #0,d0 moveq #-8,d1 moveq #0,d2 - moveq #75,d3 move.l #639,d4 move.l #434,d5 #APP @@ -12237,8 +12220,6 @@ _MAININTRO: move.l a0,a1 move.l a2,d4 moveq #8,d5 - moveq #63,d6 - not.b d6 #APP | 936 "test.c" 1 jsr a6@(-0x228:W) @@ -12374,8 +12355,6 @@ _MAININTRO: move.l a0,a1 move.l #640,d4 moveq #8,d5 - moveq #63,d6 - not.b d6 #APP | 954 "test.c" 1 jsr a6@(-0x228:W) @@ -12653,7 +12632,8 @@ _MAININTRO: add.l d1,d0 move.l d0,a1 add.l d0,a1 - move.l _GfxBase,a6 + lea _GfxBase,a0 + move.l (a0),a6 move.l d3,a0 moveq #0,d0 moveq #0,d1 @@ -12663,8 +12643,6 @@ _MAININTRO: moveq #75,d3 move.l #640,d4 move.l #360,d5 - moveq #63,d6 - not.b d6 #APP | 983 "test.c" 1 jsr a6@(-0x25e:W) diff --git a/test/test12/test b/test/test12/test index 7d9e428..bf0bfe6 100755 Binary files a/test/test12/test and b/test/test12/test differ diff --git a/test/test13/bbb/board.s b/test/test13/bbb/board.s index 9a5f880..72a438b 100644 --- a/test/test13/bbb/board.s +++ b/test/test13/bbb/board.s @@ -2046,7 +2046,6 @@ _fen2board: jra .L372 .L366: move.b #8,_board+128 - move.b (a0),d1 cmp.b #119,d1 jne .L317 jra .L367 diff --git a/test/test13/bbb/move.s b/test/test13/bbb/move.s index 41fd93b..0c7d165 100644 --- a/test/test13/bbb/move.s +++ b/test/test13/bbb/move.s @@ -2849,7 +2849,6 @@ _dummyPerft: addx.l d6,d0 move.l d0,-18492(a5) addq.l #1,-18496(a5) - move.l -18484(a5),d2 cmp.l -18496(a5),d2 jne .L462 jra .L430 @@ -2863,7 +2862,6 @@ _dummyPerft: addx.l d0,d2 move.l d2,-18476(a5) addq.l #1,-18480(a5) - move.l -18468(a5),d2 cmp.l -18480(a5),d2 jne .L461 jra .L429 @@ -2877,7 +2875,6 @@ _dummyPerft: addx.l d0,d2 move.l d2,-18464(a5) addq.l #1,-18456(a5) - move.l -18444(a5),d2 cmp.l -18456(a5),d2 jne .L460 jra .L428 @@ -2891,7 +2888,6 @@ _dummyPerft: addx.l d0,d2 move.l d2,-18452(a5) addq.l #1,-18440(a5) - move.l -18436(a5),d2 cmp.l -18440(a5),d2 jne .L459 jra .L426 @@ -7520,7 +7516,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #7936,d6 or.l d4,d6 @@ -7975,7 +7970,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #-7936,d6 or.l d4,d6 @@ -8010,7 +8004,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #4608,d6 or.l d4,d6 @@ -8045,7 +8038,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #3584,d6 or.l d4,d6 @@ -8080,7 +8072,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #-3584,d6 or.l d4,d6 @@ -8115,7 +8106,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #-4608,d6 or.l d4,d6 diff --git a/test/test13/bbb/search.s b/test/test13/bbb/search.s index e2c78ce..9cfb3c8 100644 --- a/test/test13/bbb/search.s +++ b/test/test13/bbb/search.s @@ -622,8 +622,6 @@ _AlphaBeta: move.l 16(a5),-(sp) move.l 12(a5),-(sp) jsr _Quiescence - move.l d0,d1 - lea (12,sp),sp movem.l -3968(a5),#23804 unlk a5 rts @@ -867,7 +865,6 @@ _AlphaBeta: move.l 8(a5),-(sp) jsr _TT_RecordHash addq.l #1,80(a3) - lea (16,sp),sp move.l d4,d0 movem.l -3968(a5),#23804 unlk a5 @@ -1171,7 +1168,6 @@ _AlphaBeta: move.l 8(a5),-(sp) jsr _TT_RecordHash addq.l #1,88(a3) - lea (16,sp),sp move.l 16(a5),d1 move.l d1,d0 movem.l -3968(a5),#23804 @@ -1184,7 +1180,6 @@ _AlphaBeta: move.l d4,-(sp) move.l 8(a5),-(sp) jsr _TT_RecordHash - lea (16,sp),sp move.l d4,d0 movem.l -3968(a5),#23804 unlk a5 diff --git a/test/test13/bbb/sillychess.s b/test/test13/bbb/sillychess.s index 4c4a29f..a84f4e3 100644 --- a/test/test13/bbb/sillychess.s +++ b/test/test13/bbb/sillychess.s @@ -152,7 +152,6 @@ _testPerft: addq.l #1,d5 jra .L24 .L5: - move.b (a4),d0 trap #7 .L23: pea .LC3 @@ -487,7 +486,6 @@ _main: pea 100.w pea .LC18 jsr _testEPD - addq.l #8,sp jsr _TT_free moveq #0,d0 move.l -108(a5),a2 @@ -509,7 +507,6 @@ _main: move.l d0,-92(a5) pea -104(a5) jsr _think - addq.l #4,sp jsr _TT_free moveq #0,d0 move.l -108(a5),a2 @@ -534,7 +531,6 @@ _main: move.l d0,-88(a5) pea -104(a5) jsr _think - addq.l #8,sp .L64: jsr _TT_free moveq #0,d0 @@ -559,12 +555,10 @@ _main: move.l d0,-88(a5) pea -104(a5) jsr _think - addq.l #8,sp jra .L64 .L48: pea -104(a5) jsr _input_loop - addq.l #4,sp jsr _TT_free moveq #0,d0 move.l -108(a5),a2 diff --git a/test/test13/golden/board.s b/test/test13/golden/board.s index 9a5f880..72a438b 100644 --- a/test/test13/golden/board.s +++ b/test/test13/golden/board.s @@ -2046,7 +2046,6 @@ _fen2board: jra .L372 .L366: move.b #8,_board+128 - move.b (a0),d1 cmp.b #119,d1 jne .L317 jra .L367 diff --git a/test/test13/golden/move.s b/test/test13/golden/move.s index 41fd93b..0c7d165 100644 --- a/test/test13/golden/move.s +++ b/test/test13/golden/move.s @@ -2849,7 +2849,6 @@ _dummyPerft: addx.l d6,d0 move.l d0,-18492(a5) addq.l #1,-18496(a5) - move.l -18484(a5),d2 cmp.l -18496(a5),d2 jne .L462 jra .L430 @@ -2863,7 +2862,6 @@ _dummyPerft: addx.l d0,d2 move.l d2,-18476(a5) addq.l #1,-18480(a5) - move.l -18468(a5),d2 cmp.l -18480(a5),d2 jne .L461 jra .L429 @@ -2877,7 +2875,6 @@ _dummyPerft: addx.l d0,d2 move.l d2,-18464(a5) addq.l #1,-18456(a5) - move.l -18444(a5),d2 cmp.l -18456(a5),d2 jne .L460 jra .L428 @@ -2891,7 +2888,6 @@ _dummyPerft: addx.l d0,d2 move.l d2,-18452(a5) addq.l #1,-18440(a5) - move.l -18436(a5),d2 cmp.l -18440(a5),d2 jne .L459 jra .L426 @@ -7520,7 +7516,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #7936,d6 or.l d4,d6 @@ -7975,7 +7970,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #-7936,d6 or.l d4,d6 @@ -8010,7 +8004,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #4608,d6 or.l d4,d6 @@ -8045,7 +8038,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #3584,d6 or.l d4,d6 @@ -8080,7 +8072,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #-3584,d6 or.l d4,d6 @@ -8115,7 +8106,6 @@ _generateCaptureMoves: lsl.w #4,d4 swap d4 clr.w d4 - move.l d4,a0 move.l a5,d6 add.l #-4608,d6 or.l d4,d6 diff --git a/test/test13/golden/search.s b/test/test13/golden/search.s index e2c78ce..9cfb3c8 100644 --- a/test/test13/golden/search.s +++ b/test/test13/golden/search.s @@ -622,8 +622,6 @@ _AlphaBeta: move.l 16(a5),-(sp) move.l 12(a5),-(sp) jsr _Quiescence - move.l d0,d1 - lea (12,sp),sp movem.l -3968(a5),#23804 unlk a5 rts @@ -867,7 +865,6 @@ _AlphaBeta: move.l 8(a5),-(sp) jsr _TT_RecordHash addq.l #1,80(a3) - lea (16,sp),sp move.l d4,d0 movem.l -3968(a5),#23804 unlk a5 @@ -1171,7 +1168,6 @@ _AlphaBeta: move.l 8(a5),-(sp) jsr _TT_RecordHash addq.l #1,88(a3) - lea (16,sp),sp move.l 16(a5),d1 move.l d1,d0 movem.l -3968(a5),#23804 @@ -1184,7 +1180,6 @@ _AlphaBeta: move.l d4,-(sp) move.l 8(a5),-(sp) jsr _TT_RecordHash - lea (16,sp),sp move.l d4,d0 movem.l -3968(a5),#23804 unlk a5 diff --git a/test/test13/golden/sillychess.s b/test/test13/golden/sillychess.s index 4c4a29f..a84f4e3 100644 --- a/test/test13/golden/sillychess.s +++ b/test/test13/golden/sillychess.s @@ -152,7 +152,6 @@ _testPerft: addq.l #1,d5 jra .L24 .L5: - move.b (a4),d0 trap #7 .L23: pea .LC3 @@ -487,7 +486,6 @@ _main: pea 100.w pea .LC18 jsr _testEPD - addq.l #8,sp jsr _TT_free moveq #0,d0 move.l -108(a5),a2 @@ -509,7 +507,6 @@ _main: move.l d0,-92(a5) pea -104(a5) jsr _think - addq.l #4,sp jsr _TT_free moveq #0,d0 move.l -108(a5),a2 @@ -534,7 +531,6 @@ _main: move.l d0,-88(a5) pea -104(a5) jsr _think - addq.l #8,sp .L64: jsr _TT_free moveq #0,d0 @@ -559,12 +555,10 @@ _main: move.l d0,-88(a5) pea -104(a5) jsr _think - addq.l #8,sp jra .L64 .L48: pea -104(a5) jsr _input_loop - addq.l #4,sp jsr _TT_free moveq #0,d0 move.l -108(a5),a2 diff --git a/test/test7/golden.s b/test/test7/golden.s index ce65666..5dc77ef 100755 --- a/test/test7/golden.s +++ b/test/test7/golden.s @@ -290,8 +290,8 @@ _level1_doorIntelligence: move.w d3,d0 ext.l d0 jsr _object_collision - move.w d0,d4 addq.l #4,sp + tst.w d0 jeq .L51 tst.l 40(sp) jeq .L52 @@ -508,8 +508,8 @@ _enemy_intelligence: move.w d3,d0 ext.l d0 jsr _object_collision - move.w d0,d4 addq.l #4,sp + tst.w d0 jeq .L98 tst.l 40(sp) jeq .L99 diff --git a/test/test7/test.s b/test/test7/test.s index ce65666..5dc77ef 100644 --- a/test/test7/test.s +++ b/test/test7/test.s @@ -290,8 +290,8 @@ _level1_doorIntelligence: move.w d3,d0 ext.l d0 jsr _object_collision - move.w d0,d4 addq.l #4,sp + tst.w d0 jeq .L51 tst.l 40(sp) jeq .L52 @@ -508,8 +508,8 @@ _enemy_intelligence: move.w d3,d0 ext.l d0 jsr _object_collision - move.w d0,d4 addq.l #4,sp + tst.w d0 jeq .L98 tst.l 40(sp) jeq .L99 diff --git a/test/test8/golden.s b/test/test8/golden.s index 0b9c071..1e206e0 100755 --- a/test/test8/golden.s +++ b/test/test8/golden.s @@ -46,7 +46,6 @@ ___powisf2: move.l #0x3f800000,-(sp) jsr ___divsf3 addq.l #8,sp - move.l d0,d1 movem.l (sp)+,#1084 rts .L14: diff --git a/test/test8/test.s b/test/test8/test.s index 0b9c071..1e206e0 100644 --- a/test/test8/test.s +++ b/test/test8/test.s @@ -46,7 +46,6 @@ ___powisf2: move.l #0x3f800000,-(sp) jsr ___divsf3 addq.l #8,sp - move.l d0,d1 movem.l (sp)+,#1084 rts .L14: