aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorexegete <nikitf-97@mail.ru>2020-10-17 03:33:08 +0300
committerexegete <nikitf-97@mail.ru>2020-10-17 03:33:08 +0300
commitb6b9e29c1484c9c8b8af2b382d3a9d796c310217 (patch)
tree531c498be57a6ed4c61035e33dade9d6a18ae755 /common
parent808a161313e0a03ead45f843fee3d9c40bec02bd (diff)
downloadcryptrobber-b6b9e29c1484c9c8b8af2b382d3a9d796c310217.tar
cryptrobber-b6b9e29c1484c9c8b8af2b382d3a9d796c310217.tar.xz
cryptrobber-b6b9e29c1484c9c8b8af2b382d3a9d796c310217.zip
Common dir added, stderr output, minor changes
Diffstat (limited to 'common')
-rw-r--r--common/common.sts2
-rw-r--r--common/const.sts10
-rw-r--r--common/macro.sts9
3 files changed, 21 insertions, 0 deletions
diff --git a/common/common.sts b/common/common.sts
new file mode 100644
index 0000000..cc5f5ee
--- /dev/null
+++ b/common/common.sts
@@ -0,0 +1,2 @@
+module common/macro.sts
+module common/const.sts
diff --git a/common/const.sts b/common/const.sts
new file mode 100644
index 0000000..b2e9f31
--- /dev/null
+++ b/common/const.sts
@@ -0,0 +1,10 @@
+defconst '0' 30
+defconst '1' 31
+defconst '2' 32
+defconst '3' 33
+defconst '4' 34
+defconst '5' 35
+defconst '6' 36
+defconst '7' 37
+defconst '8' 38
+defconst '9' 39
diff --git a/common/macro.sts b/common/macro.sts
new file mode 100644
index 0000000..f8620d5
--- /dev/null
+++ b/common/macro.sts
@@ -0,0 +1,9 @@
+[ local 1
+ top as %1%
+]
+
+[ change 0
+ dup get
+ swap 2 get swap 2 + set
+ swap drop
+]