A serious effort needs to be put into cutting down the number of lines of code in cpu.js.
A great deal of code follows a similar pattern and could be turned into generic, reusable functions and customized for the operation being performed. The focus should be on writing a library of functions for the different addressing modes and using those instead of using roughly the same code in plenty of places.
A serious effort needs to be put into cutting down the number of lines of code in cpu.js.
A great deal of code follows a similar pattern and could be turned into generic, reusable functions and customized for the operation being performed. The focus should be on writing a library of functions for the different addressing modes and using those instead of using roughly the same code in plenty of places.