1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-10 02:29:29 +00:00

Raise NotImplementedError when disassembling unknown mode

This commit is contained in:
Mike Naberezny 2018-06-25 17:03:26 -07:00
parent ceba4dbafa
commit 88ae860720

View File

@ -127,4 +127,8 @@ class Disassembler:
disasm += ' %s,Y' % address_or_label
length = 2
else:
msg = "Addressing mode: %r" % addressing
raise NotImplementedError(msg)
return (length, disasm)