From 29066990720e2feaa5ed90608a9a6a7ea983f7a7 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Sun, 19 Jan 2014 20:23:25 +0100 Subject: [PATCH] mjc2wsl - neg command --- src/mjc2wsl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 4c7618f..16b0e37 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -410,7 +410,12 @@ public class mjc2wsl{ break; } - //TODO neg, shl, shr, inc + case neg :{ + prl(getTop()); + prl(cmdToEStack("-tempa")); + break; + } + //TODO shl, shr case inc : { int b1 = get(), b2 = get(); -- 2.25.1