Beispiel #1
0
def getcommand(s):
    return "%s(%d)" % opcode.getname(s)
Beispiel #2
0
 def __init__(self, code, arguments=None, note=None):
     self.name, self.steps = opcode.getname(code)
     self.arguments = arguments
     self.note = note
     if self.note != None:
         self.steps += self.note.getNoteSteps()