arduino-appleii/6502tests/test/testRts.c
Damian Peckett 2798ae6d16 First Commit
Uploading Current Source To Github
2015-04-08 17:14:01 +10:00

8 lines
165 B
C

int testRtsImplied() {
push8(0x00); //high byte pc
push8(0x02); // low byte pc
ram[0] = 0x60;
instructions = 1; run();
if(!(PC == 0x03)) return -1;
return 0;
}