aboutsummaryrefslogtreecommitdiff
path: root/ABC/Machine/Instructions.icl
diff options
context:
space:
mode:
authorCamil Staps2017-07-18 20:55:08 +0000
committerCamil Staps2017-07-18 20:55:08 +0000
commit47d9abb9652d7ad1a7896d3353bdeb0904d9827c (patch)
tree04fffd26d07422b266daf89452bd80db764c5567 /ABC/Machine/Instructions.icl
parentAdded divI (diff)
Add remI
Diffstat (limited to 'ABC/Machine/Instructions.icl')
-rw-r--r--ABC/Machine/Instructions.icl4
1 files changed, 4 insertions, 0 deletions
diff --git a/ABC/Machine/Instructions.icl b/ABC/Machine/Instructions.icl
index 3ca55af..42dcb62 100644
--- a/ABC/Machine/Instructions.icl
+++ b/ABC/Machine/Instructions.icl
@@ -385,6 +385,10 @@ mulI :: State -> State
mulI st=:{bstack}
= {st & bstack=bs_mulI bstack}
+remI :: State -> State
+remI st=:{bstack}
+ = {st & bstack=bs_remI bstack}
+
subI :: State -> State
subI st=:{bstack}
= {st & bstack=bs_subI bstack}