Commit | Line | Data |
---|---|---|
c18392d8 EB |
1 | .data |
2 | foo: | |
3 | .byte 0 | |
4 | .byte data1-foo | |
5 | .word data1-foo | |
6 | .long data1-foo | |
7 | .long text1 | |
8 | .long text2 | |
9 | .word abs1 | |
10 | .word abs1+0x10 | |
11 | .text | |
12 | bar: | |
13 | nop | |
14 | brr tr,text1 | |
15 | moviq r2,text1-bar+8 | |
16 | movil r2,%l text2-bar+16 | |
17 | moviu r2,%u text2-bar+16 | |
18 | moviq r2,%u text2 | |
19 | subi r2,%l text2 | |
20 | addi r2,%u text2 | |
21 | movil r2, text2 ; with movil, the %l may be omitted | |
22 | moviu r2,%u text2 | |
23 | moviq r2,abs1 | |
24 | .end |