diff options
author | Camil Staps | 2017-07-18 21:01:31 +0000 |
---|---|---|
committer | Camil Staps | 2017-07-18 21:01:31 +0000 |
commit | c0dfbd7ca37ae769d87ae99c1a6a8443a2a8851f (patch) | |
tree | e60a856d996021594aed02524a72272d2daa1f3a /ABC/Machine/Instructions.icl | |
parent | Add remI (diff) |
Add negI
Diffstat (limited to 'ABC/Machine/Instructions.icl')
-rw-r--r-- | ABC/Machine/Instructions.icl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ABC/Machine/Instructions.icl b/ABC/Machine/Instructions.icl index 42dcb62..54e7ebd 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} +negI :: State -> State +negI st=:{bstack} + = {st & bstack=bs_negI bstack} + remI :: State -> State remI st=:{bstack} = {st & bstack=bs_remI bstack} |