URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 38 |
Rev 156 |
# Test the FILL-SLOT attribute.
|
# Test the FILL-SLOT attribute.
|
# The FILL-SLOT attribute ensures the next insn begins on a 32 byte boundary.
|
# The FILL-SLOT attribute ensures the next insn begins on a 32 byte boundary.
|
# This is needed for example with bl because the subroutine will return
|
# This is needed for example with bl because the subroutine will return
|
# to a 32 bit boundary.
|
# to a 32 bit boundary.
|
|
|
.text
|
.text
|
bl:
|
bl:
|
bl bl
|
bl bl
|
ldi r0,#8
|
ldi r0,#8
|
bl_s:
|
bl_s:
|
bl.s bl_s
|
bl.s bl_s
|
ldi r0,#8
|
ldi r0,#8
|
|
|
bra:
|
bra:
|
bra bra
|
bra bra
|
ldi r0,#8
|
ldi r0,#8
|
bra_s:
|
bra_s:
|
bra.s bra_s
|
bra.s bra_s
|
ldi r0,#8
|
ldi r0,#8
|
|
|
jl:
|
jl:
|
jl r0
|
jl r0
|
ldi r0,#8
|
ldi r0,#8
|
|
|
trap:
|
trap:
|
trap #4
|
trap #4
|
ldi r0,#8
|
ldi r0,#8
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.