summaryrefslogtreecommitdiff
path: root/test.c
blob: 1ae1afff74983c9c4fe06e93dddfa275b2cca438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include"include.h"
#include"debug.h"

int main(){
	char c;
	unsigned char a, b;
	
	initIT();

	//void (*func)(Addressing, address); printf("Statement OK");

	printf("\n\n");

	func = &fLDA;

	dStatusDump(); 

	//func(*(IT + ((sizeof(uintptr_t)*256)) + (0xA9 * sizeof(Addressing))), *(IT + ((sizeof(uintptr_t)*0xA9))));

	callIT(0xA9, 0x01);

	dStatusDump();

	printf("%x\n", (IT + 31));

	return 0;
}