summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/collatz.ssa2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/collatz.ssa b/test/collatz.ssa
index 0a593b1..73e16ea 100644
--- a/test/collatz.ssa
+++ b/test/collatz.ssa
@@ -29,7 +29,7 @@ function $test() {
 	%n2 =w add %n1, 1
 	jmp @cloop
 @even
-	%n3 =w div %n0, 2
+	%n3 =w shr %n0, 1
 	jmp @cloop
 @getmemo                     # get the count for n0 in mem
 	%n0l =l extsw %n0