Commit | Line | Data |
---|---|---|
3c74c164 AO |
1 | ! There was a bug with negative pc-relative numbers. |
2 | .mode SHmedia | |
3 | .text | |
4 | start: | |
5 | movi (start - 1000000 - end) & 65535,r4 | |
6 | movi ((start - 1000000 - end) >> 16) & 65535,r5 | |
7 | movi ((start - 1000000 - end) >> 32) & 65535,r6 | |
8 | movi ((start - 1000000 - end) >> 48) & 65535,r7 | |
9 | movi (start - 1000000 - end),r8 | |
10 | end: |