Fix address in comments

This commit is contained in:
xorstream 2015-12-22 21:01:30 +11:00
parent 963c237646
commit ae64fb370b
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ const unsigned char test_code_1[] = {
0x00,0x00,0x04,0x24, // 100000: li $a0, 0
0x01,0x00,0x02,0x24, // 100004: li $v0, 1
0x02,0x00,0x03,0x24, // 100008: li $v1, 2
0x01,0x00,0x62,0x54, // 10000C: bnel $v1, $v0, 0x100010
0x01,0x00,0x62,0x54, // 10000C: bnel $v1, $v0, 0x100014
0x21,0x20,0x62,0x00, // 100010: addu $a0, $v1, $v0
};
// This code SHOULD NOT execute the instruction at 0x100010.
@ -46,7 +46,7 @@ const unsigned char test_code_2[] = {
0x00,0x00,0x04,0x24, // 100000: li $a0, 0
0x01,0x00,0x02,0x24, // 100004: li $v0, 1
0x01,0x00,0x03,0x24, // 100008: li $v1, 1
0x01,0x00,0x62,0x54, // 10000C: bnel $v1, $v0, 0x100010
0x01,0x00,0x62,0x54, // 10000C: bnel $v1, $v0, 0x100014
0x21,0x20,0x62,0x00, // 100010: addu $a0, $v1, $v0
};
int test_num = 0;