summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lisc/test/align.ssa8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisc/test/align.ssa b/lisc/test/align.ssa
new file mode 100644
index 0000000..a94d668
--- /dev/null
+++ b/lisc/test/align.ssa
@@ -0,0 +1,8 @@
+@start
+	%x =l alloc16 16
+	%y =l add %x, 8
+	%m =w rem %y, 16
+	storew %m, %y
+	%n =w load %y
+	storew %n, $a
+	ret