mirror of
https://github.com/trebonian/visual6502.git
synced 2024-12-22 12:29:20 +00:00
update 6800 test program
This commit is contained in:
parent
4e2c84dabc
commit
73f21ffc47
@ -7,18 +7,18 @@ var consoleboxStream="";
|
|||||||
// for opcodes, see ftp://ftp.comlab.ox.ac.uk/pub/Cards/txt/6800.txt
|
// for opcodes, see ftp://ftp.comlab.ox.ac.uk/pub/Cards/txt/6800.txt
|
||||||
|
|
||||||
testprogram = [
|
testprogram = [
|
||||||
0xce, 0x21, 0x43, // LDX #4321
|
0x01, // NOP
|
||||||
|
0x01, // NOP
|
||||||
|
0x01, // NOP
|
||||||
|
0xce, 0x43, 0x21, // LDX #4321
|
||||||
0x35, // TXS
|
0x35, // TXS
|
||||||
0xc6, 0x00, // LDAA #$00
|
0xc6, 0x00, // LDAA #$00
|
||||||
0xbd, 0x10, 0x00, // JSR $0010
|
0xbd, 0x00, 0x10, // JSR $0010
|
||||||
0x7e, 0x02, 0x00, // JMP $0002
|
0x7e, 0x00, 0x02, // JMP $0002
|
||||||
0x01,
|
|
||||||
0x01,
|
|
||||||
0x01, // NOP
|
0x01, // NOP
|
||||||
0x01,
|
|
||||||
0x08, // INX
|
0x08, // INX
|
||||||
0x5a, // DECB
|
0x5a, // DECB
|
||||||
0x7c, 0x0f, 0x00, // INC $0F
|
0x7c, 0x00, 0x0f, // INC $0F
|
||||||
0x0d, // SEC
|
0x0d, // SEC
|
||||||
0xc9, 0x02, // ADCA #$02
|
0xc9, 0x02, // ADCA #$02
|
||||||
0x39, // RTS
|
0x39, // RTS
|
||||||
|
Loading…
Reference in New Issue
Block a user