diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 28 |
1 files changed, 22 insertions, 6 deletions
@@ -2,10 +2,26 @@ #include"debug.h" int main(){ - fAddressGetLength(eAbsolute); - printf("fAddressGetLength Success\n"); - getITFunction(0x00); - printf("getITFunction Success\n"); - getITAddressing(0x00); - printf("getITAddressing Success\n"); + 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; }
\ No newline at end of file |