Commit 331d79eb authored by Brandon Warner's avatar Brandon Warner
Browse files

Started on code to instruction parsing

parent d7112b6a
......@@ -69,6 +69,12 @@ def assemble(input, output):
t["code"] = "".join(l).strip()
parsed_lines.append(t)
for pl in parsed_lines:
if "code" in pl.keys():
if len(pl['code']) == 0:
#pl.remove("code")
pass # TODO remove code tag if not needed
pprint.pprint(parsed_lines)
return
for line in code_lines:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment