CMDs = ["jmp", "jmp_if"] def jmp(self, operand): self.pc = int(operand[0]) def jmp_if(self, operand): if int(operand[1]) == 1: self.pc = int(operand[0])