From e81ab31cf7cfabce9f5d235066c471761c647ff2 Mon Sep 17 00:00:00 2001 From: Astrid Smith Date: Fri, 10 Sep 2010 19:40:53 -0700 Subject: 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. --- main.asm | 1 + 1 file changed, 1 insertion(+) (limited to 'main.asm') diff --git a/main.asm b/main.asm index 0e3b06f..989ed06 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 -- cgit v1.2.3