diff src/pass1.c @ 27:f736579569b4

Added handlers for inherent and register to register instructions
author lost
date Fri, 02 Jan 2009 02:56:04 +0000
parents d2e86babd958
children c0ff62e5ad39
line wrap: on
line diff
--- a/src/pass1.c	Fri Jan 02 02:38:02 2009 +0000
+++ b/src/pass1.c	Fri Jan 02 02:56:04 2009 +0000
@@ -149,6 +149,7 @@
 void lwasm_pass1(asmstate_t *as)
 {
 	as -> passnum = 1;
+	as -> addr = 0;
 	
 	if (lwasm_read_file(as, as -> infile) < 0)
 	{