#include"headers/include.h" #include"headers/debug.h" int main(int argc, char *argv[]){ initInstructionTable(); byte* a; for(int i = 0; i < InstructionTableSize; i++){ a = InstructionTable + i; printf("%x\t", *a); if ((i % 8) == 7) printf("\n"); } printf("\n"); dStatusDump(); dIdataDump(); printf("%x\n", &fLDA); printf("\n"); callInstructionTable(0xA9, 0x01); dStatusDump(); dIdataDump(); printf("\n"); }