Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion asmparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ def declare_label(self, label, lineno, value=None, local=False, namespace=None):
self.local_labels[-1][ex_label] = Label(ex_label, lineno, value, local, namespace, is_address)

self.set_memory_slot()
self.memory_bytes[self.org] += ('%s:' % ex_label,)

return self.local_labels[-1][ex_label]

Expand Down
15 changes: 15 additions & 0 deletions tests/functional/orgasm.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
org 32768
__START_PROGRAM:
di
exx
ld hl, 0

;org 32768
halt
halt

__END_PROGRAM:
__END_PERA:
nop
__ENDPINA:
END
Binary file added tests/functional/orgasm.bin
Binary file not shown.