aboutsummaryrefslogtreecommitdiff
path: root/lllars/fac.lll
diff options
context:
space:
mode:
Diffstat (limited to 'lllars/fac.lll')
-rw-r--r--lllars/fac.lll17
1 files changed, 17 insertions, 0 deletions
diff --git a/lllars/fac.lll b/lllars/fac.lll
new file mode 100644
index 0000000..02bf90a
--- /dev/null
+++ b/lllars/fac.lll
@@ -0,0 +1,17 @@
+!!! all rights reserved to lars <3 !!!
+
+lars initial values: @0 is n, @1 is result
+0lars255
+1lars1
+
+larslars loop
+@lars
+lars|sral 0 sral
+1larssral1*sral0
+0larssral0-1
+srallars lars
+
+larslarslars end: print number
+@sral
+8159larssral1
+larssral