2005-09-08 Paul Brook <paul@codesourcery.com>
[binutils.git] / gas / testsuite / gas / arm / immed.s
blob400f628f3f35fd684929c65fe77324fadd9918e3
1 @ Tests for complex immediate expressions - none of these need
2 @ relocations
3 .text
4 bar:
5 mov r0, #0
6 mov r0, #(. - bar - 8)
7 ldr r0, bar
8 ldr r0, [pc, # (bar - . -8)]
9 .space 4096
10 mov r0, #(. - bar - 8) & 0xff
11 ldr r0, [pc, # (bar - . -8) & 0xff]
13 @ section padding for a.out's benefit
14 nop
15 nop