blob: 2ced76c25b681199566840cac5fbb3fe28a240bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#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");
}
|