Commit | Line | Data |
---|---|---|
bbe506e8 TS |
1 | .macro one_sym count |
2 | .globl sym_1_\count | |
3 | sym_1_\count: | |
4 | la $2, sym_1_\count | |
5 | .endm | |
6 | ||
7 | ||
8 | .text | |
9 | .globl func1 | |
10 | .ent func1 | |
11 | func1: | |
12 | .frame $sp,0,$31 | |
13 | .set noreorder | |
14 | .cpload $25 | |
15 | .set reorder | |
16 | .cprestore 8 | |
17 | .set noreorder | |
18 | ||
19 | .irp thou,0,1,2,3,4,5,6,7,8 | |
20 | .irp hund,0,1,2,3,4,5,6,7,8,9 | |
21 | .irp tens,0,1,2,3,4,5,6,7,8,9 | |
22 | .irp ones,0,1,2,3,4,5,6,7,8,9 | |
23 | one_sym \thou\hund\tens\ones | |
24 | .endr | |
25 | .endr | |
26 | .endr | |
27 | .endr | |
28 | ||
29 | .end func1 |