<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def step(self):
 """Executes one instruction and stops."""

        op = self.code[self.instruction_pointer]
        self.instruction_pointer += 1
        op(self)