cpu:onBeforeExecuteInstruction(0x60, function(cpu, opcode, operand) end) cpu:onBeforeExecuteInstruction(0x20, function(cpu, opcode, operand) end) cpu:onAfterExecuteInstruction(0x60, function(cpu, opcode, operand) end) cpu:onAfterExecuteInstruction(0x20, function(cpu, opcode, operand) end)