]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/nios2/add.s
2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / nios2 / add.s
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