aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/asm/jumpmp.ms
blob: dd21e9c6b3864df4cc733b48233310bcfdd7ae89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# mach: crisv3 crisv8 crisv10
# output: bed0bed1\n

# Test that jump indirect clears the "prefixed"
# bit.

 .include "testutils.inc"
 .data
w:
 .dword x1
y:
 .dword 0xbed0bed1

 start
x:
 move.d y,r3
 jump [w]
x1:
 move.d [r3],r3
 dumpr3 ; bed0bed1
 quit