Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / gas / testsuite / gas / nios2 / movi.s
... / ...
CommitLineData
1# Source file used to test that former silent conversion of
2# movi to orhi etc now gives range errors instead.
3
4foo:
5# This doesn't get converted.
6movi r2, 0x20
7
8# This used to convert.
9movi r2, 0x20000000
10
11# addi used to convert only if the source register is r0.
12addi r2, r0, 0xffff0000
13
14# Logical ops used to convert to equivalent *hi for any register.
15ori r2, r5, 0xffff0000
16xori r2, r10, 0xffff0000
17andi r2, r15, 0xffff0000
18
19# This one used to be buggy and convert even though it wasn't supposed to,
20# because it was failing to take the %lo relocation into account.
21ori r23,r23,%lo(0x12340000)
This page took 0.028552 seconds and 4 git commands to generate.