Commit | Line | Data |
---|---|---|
9875b365 MR |
1 | .macro i_nop |
2 | .if nop_type == 1 | |
3 | nop 0 | |
4 | .elseif nop_type == 2 | |
5 | l.nop | |
6 | .elseif nop_type == 3 | |
7 | nopr 1 | |
8 | .elseif nop_type == 4 | |
9 | mov g0, g0 | |
10 | .elseif nop_type == 5 | |
11 | set $0, $0 | |
f8861f5d JM |
12 | .elseif nop_type == 6 |
13 | mov %r1,%r1 | |
9875b365 MR |
14 | .else |
15 | nop | |
16 | .endif | |
17 | .endm | |
18 | ||
19 | .text | |
20 | .org 0x20 | |
21 | .globl foo | |
22 | foo: | |
23 | i_nop | |
24 | .org 0x10 | |
25 | .globl bar | |
26 | bar: | |
27 | i_nop |