-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathirix-g.s
43 lines (39 loc) · 1.96 KB
/
irix-g.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel test
/* 0000B0 004000B0 00057080 */ sll $t6, $a1, 2
/* 0000B4 004000B4 008E7821 */ addu $t7, $a0, $t6
/* 0000B8 004000B8 8DF80004 */ lw $t8, 4($t7)
/* 0000BC 004000BC 3C010041 */ lui $at, %hi(D_410140)
/* 0000C0 004000C0 AC380140 */ sw $t8, %lo(D_410140)($at)
/* 0000C4 004000C4 0005C880 */ sll $t9, $a1, 2
/* 0000C8 004000C8 00994021 */ addu $t0, $a0, $t9
/* 0000CC 004000CC 25090004 */ addiu $t1, $t0, 4
/* 0000D0 004000D0 3C010041 */ lui $at, %hi(D_410140)
/* 0000D4 004000D4 AC290140 */ sw $t1, %lo(D_410140)($at)
/* 0000D8 004000D8 000550C0 */ sll $t2, $a1, 3
/* 0000DC 004000DC 008A5821 */ addu $t3, $a0, $t2
/* 0000E0 004000E0 8D6C0030 */ lw $t4, 0x30($t3)
/* 0000E4 004000E4 3C010041 */ lui $at, %hi(D_410140)
/* 0000E8 004000E8 AC2C0140 */ sw $t4, %lo(D_410140)($at)
/* 0000EC 004000EC 000568C0 */ sll $t5, $a1, 3
/* 0000F0 004000F0 008D7021 */ addu $t6, $a0, $t5
/* 0000F4 004000F4 25CF0030 */ addiu $t7, $t6, 0x30
/* 0000F8 004000F8 3C010041 */ lui $at, %hi(D_410140)
/* 0000FC 004000FC AC2F0140 */ sw $t7, %lo(D_410140)($at)
/* 000100 00400100 0005C1C0 */ sll $t8, $a1, 7
/* 000104 00400104 0098C821 */ addu $t9, $a0, $t8
/* 000108 00400108 8F28007C */ lw $t0, 0x7c($t9)
/* 00010C 0040010C 3C010041 */ lui $at, %hi(D_410140)
/* 000110 00400110 AC280140 */ sw $t0, %lo(D_410140)($at)
/* 000114 00400114 8C890048 */ lw $t1, 0x48($a0)
/* 000118 00400118 3C010041 */ lui $at, %hi(D_410140)
/* 00011C 0040011C AC290140 */ sw $t1, %lo(D_410140)($at)
/* 000120 00400120 248A0048 */ addiu $t2, $a0, 0x48
/* 000124 00400124 3C010041 */ lui $at, %hi(D_410140)
/* 000128 00400128 AC2A0140 */ sw $t2, %lo(D_410140)($at)
/* 00012C 0040012C 03E00008 */ jr $ra
/* 000130 00400130 00000000 */ nop
/* 000134 00400134 03E00008 */ jr $ra
/* 000138 00400138 00000000 */ nop
/* 00013C 0040013C 00000000 */ nop