Open spjewkes opened 7 years ago
We should get rid of the switch statement and have different instructions classes that specialise their own execute() function. That would get rid of a function that does the switch and instead it would dive straight into each instruction.
We should get rid of the switch statement and have different instructions classes that specialise their own execute() function. That would get rid of a function that does the switch and instead it would dive straight into each instruction.