indentation

This commit is contained in:
Nguyen Anh Quynh 2015-12-23 01:18:52 +08:00
commit 85c2bd31f5

View File

@ -35,14 +35,10 @@
const uint64_t addr = 0x100000; const uint64_t addr = 0x100000;
// This code SHOULD execute the instruction at 0x100010. // This code SHOULD execute the instruction at 0x100010.
const unsigned char test_code_1[] = { const unsigned char test_code_1[] = {
0x01,0x00,0x02,0x24, // 100000: li $v0, 1
0x02,0x00,0x03,0x24, // 100004: li $v1, 2
0x01,0x00,0x62,0x54, // 100008: bnel $v1, $v0, 0x100010
0x00,0x00,0x00,0x00, // 10000C: nop
0x00,0x00,0x04,0x24, // 100000: li $a0, 0 0x00,0x00,0x04,0x24, // 100000: li $a0, 0
0x01,0x00,0x02,0x24, // 100004: li $v0, 1 0x01,0x00,0x02,0x24, // 100004: li $v0, 1
0x02,0x00,0x03,0x24, // 100008: li $v1, 2 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 0x21,0x20,0x62,0x00, // 100010: addu $a0, $v1, $v0
}; };
// This code SHOULD NOT execute the instruction at 0x100010. // This code SHOULD NOT execute the instruction at 0x100010.
@ -50,7 +46,7 @@ const unsigned char test_code_2[] = {
0x00,0x00,0x04,0x24, // 100000: li $a0, 0 0x00,0x00,0x04,0x24, // 100000: li $a0, 0
0x01,0x00,0x02,0x24, // 100004: li $v0, 1 0x01,0x00,0x02,0x24, // 100004: li $v0, 1
0x01,0x00,0x03,0x24, // 100008: li $v1, 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 0x21,0x20,0x62,0x00, // 100010: addu $a0, $v1, $v0
}; };
int test_num = 0; int test_num = 0;