summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xasmblr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asmblr.py b/asmblr.py
index 9309040..e6a35e1 100755
--- a/asmblr.py
+++ b/asmblr.py
@@ -18,8 +18,8 @@ def genaddresses(tokens):
if ':' not in t[0]:
continue
label = t[0].split(':')[0]
- lblcnt += 1
table[label] = offset + i - lblcnt
+ lblcnt += 1
return table
def gencode(tokens, addresses, ops):