aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/lm32/test_b.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/lm32/test_b.S')
-rw-r--r--tests/tcg/lm32/test_b.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/tcg/lm32/test_b.S b/tests/tcg/lm32/test_b.S
new file mode 100644
index 0000000000..98172d8a95
--- /dev/null
+++ b/tests/tcg/lm32/test_b.S
@@ -0,0 +1,13 @@
+.include "macros.inc"
+
+start
+
+test_name B_1
+load r1 jump
+b r1
+tc_fail
+end
+
+jump:
+tc_pass
+end