def do(self, opcode): newaccu = self.pc.cpu.accu.val.int - 1 set_newval(self.pc, newaccu)
def do(self, opcode): opval = opcode[1 : len(opcode)].int accuval = self.pc.cpu.registers["00"].val.int newaccu = accuval + opval set_newval(self.pc, newaccu)
def do(self, op): regval = self.register.val.int accuval = self.pc.cpu.accu.val.int newval = regval + accuval set_newval(self.pc, newval)
def do(self, opcode): opval = opcode[1:len(opcode)].int accuval = self.pc.cpu.registers['00'].val.int newaccu = accuval + opval set_newval(self.pc, newaccu)