Added EXX to test program, as we seem to start off with alternative BC/DE/HL active

This commit is contained in:
David Banks 2018-09-19 14:45:41 +01:00
parent 85058171b2
commit 3315f309a7

View File

@ -15,6 +15,7 @@ readTriggers[0x8000]="var c=consolegetc; consolegetc=undefined; (c)";
// for opcodes, see http://www.textfiles.com/programming/CARDS/6800 // for opcodes, see http://www.textfiles.com/programming/CARDS/6800
testprogram = [ testprogram = [
0xD9, // EXX
0x21, 0x34, 0x12, // LD HL,$1234 0x21, 0x34, 0x12, // LD HL,$1234
0x31, 0xfe, 0xdc, // LD SP,0xDCFE 0x31, 0xfe, 0xdc, // LD SP,0xDCFE
0xe5, // PUSH HL 0xe5, // PUSH HL