summaryrefslogtreecommitdiffstats
path: root/tests/simple.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple.S')
-rw-r--r--tests/simple.S27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/simple.S b/tests/simple.S
new file mode 100644
index 0000000..92cf203
--- /dev/null
+++ b/tests/simple.S
@@ -0,0 +1,27 @@
+# See LICENSE for license details.
+
+#*****************************************************************************
+# simple.S
+#-----------------------------------------------------------------------------
+#
+# This is the most basic self checking test. If your simulator does not
+# pass thiss then there is little chance that it will pass any of the
+# more complicated self checking tests.
+#
+
+#include "riscv_test.h"
+#include "test_macros.h"
+
+RVTEST_RV32U
+RVTEST_CODE_BEGIN
+
+RVTEST_PASS
+
+RVTEST_CODE_END
+
+ .data
+RVTEST_DATA_BEGIN
+
+ TEST_DATA
+
+RVTEST_DATA_END