bobomb / dNES

A toy NES emulator written in D.
GNU General Public License v3.0
1 stars 1 forks source link

Implement functions for each instruction #7

Closed s-daveb closed 9 years ago

s-daveb commented 9 years ago

Going hand-in-hand with issue #6, we need to implement functions that perform the actions of each instruction in valid 6502 assembly code. Since addresing mode is determined by the instruction opcodes, (found here) we will have several opcodes for each instruction, all calling the same function, but each of which will "fetch" the correct parameter using an "address mode selection" method as discussed in issue #6.

This will enable us to "generally" implement each instruction once, and to fetch its input parameter in various different ways.

s-daveb commented 9 years ago

Splt into two Issues: #12 and #13