forked from Apple-2-HW/arduino-appleii
2798ae6d16
Uploading Current Source To Github
8 lines
174 B
C
8 lines
174 B
C
int testPhaImplied() {
|
|
unsigned short beginSp = SP;
|
|
A = 0x23;
|
|
ram[0] = 0x48;
|
|
instructions = 1; run();
|
|
if(!((beginSp-SP) == 1 && pull8() == 0x23)) return -1;
|
|
return 0;
|
|
} |