Commit | Line | Data |
---|---|---|
36591ba1 SL |
1 | # Source file used to test the add and addi instructions. |
2 | ||
3 | foo: | |
4 | add r4,r4,r4 | |
5 | addi r4,r4,0x7fff | |
6 | addi r4,r4,-0x8000 | |
7 | addi r4,r4,0x0 | |
8 | addi r4,r4,-0x01 | |
9 | subi r4,r4,0x01 | |
10 | addi r4,r4,0x3456 | |
11 | ||
12 | # should disassemble to add r0,0,r0 | |
13 | nop |