URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 33 |
# mach: crisv3 crisv8 crisv10
|
# mach: crisv3 crisv8 crisv10
|
# output: aaeebb11\nde378218\n
|
# output: aaeebb11\nde378218\n
|
|
|
# Test that the special case "X [pc+I],Y" works, where I byte-sized.
|
# Test that the special case "X [pc+I],Y" works, where I byte-sized.
|
|
|
.include "testutils.inc"
|
.include "testutils.inc"
|
start
|
start
|
x:
|
x:
|
; FIXME: Gas bugs are making this a bit harder than necessary.
|
; FIXME: Gas bugs are making this a bit harder than necessary.
|
; move.d [pc+y-(.+2)],r3
|
; move.d [pc+y-(.+2)],r3
|
move.d [pc+8],r3
|
move.d [pc+8],r3
|
yy:
|
yy:
|
jump zz
|
jump zz
|
|
|
y:
|
y:
|
.dword 0xaaeebb11
|
.dword 0xaaeebb11
|
y2:
|
y2:
|
.dword 0xde378218
|
.dword 0xde378218
|
|
|
zz:
|
zz:
|
dumpr3
|
dumpr3
|
jump z
|
jump z
|
quit
|
quit
|
|
|
; Check a negative offset.
|
; Check a negative offset.
|
.space 50
|
.space 50
|
z:
|
z:
|
move.d [pc+y2-(.+2)],r3
|
move.d [pc+y2-(.+2)],r3
|
dumpr3
|
dumpr3
|
quit
|
quit
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.