From a71e6c729761d07c7bf189c057951440d1fe251f Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 2 May 2024 23:16:30 +0100 Subject: more things --- disasm.py | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) (limited to 'disasm.py') diff --git a/disasm.py b/disasm.py index 3ba5c2f..693393b 100755 --- a/disasm.py +++ b/disasm.py @@ -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)) -- cgit v1.2.3