meganesu / generate-gb-opcodes

A helper project to dynamically generate the opcodes for each Game Boy CPU instruction mnemonic
https://meganesu.github.io/generate-gb-opcodes/
42 stars 9 forks source link

Add examples to instruction objects #16

Open meganesu opened 4 years ago

meganesu commented 4 years ago

WHEN the generateAllInstructions function is run THEN the instruction objects that are created should each have a .example attribute that shows an example of what happens when the instruction is used

WHEN the sidebar for an instruction is opened THEN the example shows up in the sidebar contents