OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [arm/] [immed.s] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
@       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]
12
 
13
        @ section padding for a.out's benefit
14
        nop
15
        nop

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.