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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [bdapqpc.ms] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# mach: crisv3 crisv8 crisv10
2
# output: aaeebb11\nde378218\n
3
 
4
# Test that the special case "X [pc+I],Y" works, where I byte-sized.
5
 
6
 .include "testutils.inc"
7
 start
8
x:
9
; FIXME: Gas bugs are making this a bit harder than necessary.
10
; move.d [pc+y-(.+2)],r3
11
 move.d [pc+8],r3
12
yy:
13
 jump zz
14
 
15
y:
16
 .dword 0xaaeebb11
17
y2:
18
 .dword 0xde378218
19
 
20
zz:
21
 dumpr3
22
 jump z
23
 quit
24
 
25
; Check a negative offset.
26
 .space 50
27
z:
28
 move.d [pc+y2-(.+2)],r3
29
 dumpr3
30
 quit

powered by: WebSVN 2.1.0

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