Commit 120021bf authored by Brandon Warner's avatar Brandon Warner
Browse files

removed extra = and fixed ci to be test instead of build

parent a1d95015
Pipeline #446 passed with stage
in 18 seconds
image: thebmw/z80asm
build:
stage: build
test:
stage: test
script:
- python3 z80asm.py -v -i tests/z80full.asm -o tests/z80full.bin
- z80asm -i tests/z80full.asm -o tests/z80full_z80asm.bin
......
......@@ -416,7 +416,7 @@ def assemble(input, output):
elif t['inst'] == "defs":
t["addr"] = addr
addr = addr + int(t["args"],0)
t["bin"] == b'\0' * int(t["args"],0) # We need to go ahead and allocate the space in the final output file.
t["bin"] = b'\0' * int(t["args"],0) # We need to go ahead and allocate the space in the final output file.
# We are going to have to parse the defb here so that we can know the size. :(
elif "label" in t.keys():
......
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