aboutsummaryrefslogtreecommitdiff
path: root/tasm/tests
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-10-28 00:00:21 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-10-28 00:00:21 +0300
commitd96b8c7d12fc61ec609d6138627b9d6d18139a9a (patch)
tree82bc9a4c2b22de6c021097fb79a57b6d7756a127 /tasm/tests
downloadtri-d96b8c7d12fc61ec609d6138627b9d6d18139a9a.tar.gz
tri-d96b8c7d12fc61ec609d6138627b9d6d18139a9a.zip
move to monorepo
+ Will probably have to make some changes to dir layout to make things make more sense
Diffstat (limited to 'tasm/tests')
-rw-r--r--tasm/tests/a.t6
-rw-r--r--tasm/tests/include.t1
2 files changed, 7 insertions, 0 deletions
diff --git a/tasm/tests/a.t b/tasm/tests/a.t
new file mode 100644
index 0000000..f23f9c0
--- /dev/null
+++ b/tasm/tests/a.t
@@ -0,0 +1,6 @@
+start:
+ li x1, 48
+ li x2, 19683
+ st w, x1, 0(x2)
+ li x1, 3
+ csrrw mpower, x0, x1
diff --git a/tasm/tests/include.t b/tasm/tests/include.t
new file mode 100644
index 0000000..50dfe97
--- /dev/null
+++ b/tasm/tests/include.t
@@ -0,0 +1 @@
+.include "a.t"