Sign in
gnu
/
binutils-gdb
/
392a587b0562bfd8561bc15ad2625a4f49f461f0
/
.
/
gas
/
testsuite
/
gas
/
arm
/
immed.s
blob: 5d2092be18b6d73cd79cd0231ceedb40fe282a30 [
file
] [
log
] [
blame
]
@
Tests
for
complex immediate expressions
-
none of these need
@
relocations
.text
bar
:
mov r0
,
#0
mov r0
,
#(. - bar - 8)
ldr r0
,
bar
ldr r0
,
[
pc
,
# (bar - . -8)]
.space
4096
mov r0
,
#(. - bar - 8) & 0xff
ldr r0
,
[
pc
,
# (bar - . -8) & 0xff]