40 lines
769 B
Plaintext
Executable File
40 lines
769 B
Plaintext
Executable File
/////////////////
|
|
// TEST SCRIPT //
|
|
/////////////////
|
|
//
|
|
// get constant name
|
|
0x80 0x00 0x00 0x00 0x00 0x05;
|
|
// -> 0x6f, 0x6e, 0x64, 0x72, 0x61
|
|
//
|
|
// get constant too large
|
|
0x80 0x00 0x00 0x00 0x00 0xab;
|
|
// -> 0x6x 0x05
|
|
//
|
|
// save
|
|
0x80 0x02 0x00 0x00 0x05
|
|
0x01 0x02 0x03 0x04 0x05
|
|
0x00;
|
|
// -> 0x00
|
|
//
|
|
// load
|
|
0x80 0x04 0x00 0x00 0x00 0x05;
|
|
// -> 0x01 0x02 0x03 0x04 0x05
|
|
//
|
|
// save too large
|
|
0x80 0x02 0x00 0x00 0x1e
|
|
0x01 0x02 0x03 0x04 0x05
|
|
0x01 0x02 0x03 0x04 0x05
|
|
0x01 0x02 0x03 0x04 0x05
|
|
0x01 0x02 0x03 0x04 0x05
|
|
0x01 0x02 0x03 0x04 0x05
|
|
0x01 0x02 0x03 0x04 0x05
|
|
0x00;
|
|
// -> 0x67 0x14
|
|
//
|
|
// load too large
|
|
0x80 0x04 0x00 0x00 0x00 0x1e;
|
|
// -> 0x6c 0x14
|
|
//
|
|
// unknown instruction
|
|
0x80 0xab 0x00 0x00 0x00 0x00;
|
|
// -> 0x6d 0x00 |