diff options
Diffstat (limited to 'disasm.py')
-rwxr-xr-x | disasm.py | 29 |
1 files changed, 2 insertions, 27 deletions
@@ -1,33 +1,8 @@ #!/usr/bin/env python3 import sys -mnems = """ -nop -rot -nrt -dup -swp -ovr -drp -tck -nip -equ -neq -add -sub -mul -div -neg -slt -ult -sle -ule -lod -sto -psh -pop -""".split() -mnems.extend(['???']*(64-len(mnems))) +from mnems import mnems + def opws(kw): for k in range(16): mnems.append(kw + str(k)) |