From 718f8cd2761c7219c0c3bcd49f33ba8977010920 Mon Sep 17 00:00:00 2001 From: pjht Date: Tue, 25 Oct 2022 11:43:53 -0500 Subject: [PATCH] Optimize an instruction from the ROM The instruction to load fakestack into the SP can be removed by making use of the inital SP value in the reset vector --- rom/rom.68k | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rom/rom.68k b/rom/rom.68k index 05824c9..b5a9d22 100644 --- a/rom/rom.68k +++ b/rom/rom.68k @@ -1,6 +1,5 @@ - .long 0, start + .long fakestack, start start: - move.w #fakestack, a7 move.b #0x1, d0 | Find the ROM card bra.b find_first_card romfindret: