aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/v850eq-elf/t-jmp.s
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/v850eq-elf/t-jmp.s')
-rw-r--r--sim/testsuite/v850eq-elf/t-jmp.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/sim/testsuite/v850eq-elf/t-jmp.s b/sim/testsuite/v850eq-elf/t-jmp.s
new file mode 100644
index 0000000..b7e6ec9
--- /dev/null
+++ b/sim/testsuite/v850eq-elf/t-jmp.s
@@ -0,0 +1,20 @@
+.include "t-macros.i"
+
+ start
+
+ load r2 test_jmp1
+ add 1, r2 # misalign
+ jmp [r2]
+test_jmp:
+
+ exit47
+ exit47
+ exit47
+ exit47
+ exit47
+ exit47
+ exit47
+ exit47
+
+test_jmp1:
+ exit0