by joneholland · 3y ago · 0 comments
In my implementation I usually store a dictionary entry with two function pointers. One for the opcode itself, and one for the addressing mode. Call the address mode to configure state correctly, then call the opcode to actually perform the work.
This is a lot cleaner than nested ifs.
No comments yet.