summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorDuncan Smith2010-09-10 19:40:53 -0700
committerDuncan Smith2010-09-10 19:40:53 -0700
commitbb5e929390e4f1e91713ebc7b56a10ff8b44551b (patch)
treed611109e3828de3a93b67e19c334aa07d37ca69e /main.asm
parent229c37b4300394b837e48dd30b0d1e5a4ab49b93 (diff)
Two more fixes
The underef function will now return 0 if a match is not found, rather than returning something undefined. The routine for CALL immed.w was mistakenly calling deref with a truncated address. This has been fixed.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.asm b/main.asm
index b765fd3..0480c52 100644
--- a/main.asm
+++ b/main.asm
@@ -154,6 +154,7 @@ underef_not1:
underef_not2:
suba.l (a1)+,a0
;; if that fails too, well shit man!
+ moveq #0,d0
underef_thatsit:
rts