forked from Apple-2-HW/arduino-appleii
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;
|
||
|
}
|