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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [m32r/] [high-1.s] - Diff between revs 38 and 156

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 156
; Test high/shigh handling.
; Test high/shigh handling.
 
 
foo:
foo:
        seth r4,#high(foo+0x10000)
        seth r4,#high(foo+0x10000)
        or3  r4,r4,#low(foo+0x10000)
        or3  r4,r4,#low(foo+0x10000)
 
 
        seth r4,#high(0x12348765)
        seth r4,#high(0x12348765)
        or3  r4,r4,#low(0x12348765)
        or3  r4,r4,#low(0x12348765)
 
 
        seth r4,#shigh(0x12348765)
        seth r4,#shigh(0x12348765)
        or3  r4,r4,#low(0x12348765)
        or3  r4,r4,#low(0x12348765)
 
 
        seth r4,#shigh(0x87654321)
        seth r4,#shigh(0x87654321)
        or3  r4,r4,#low(0x87654321)
        or3  r4,r4,#low(0x87654321)
 
 

powered by: WebSVN 2.1.0

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