From: Doni Pracner Date: Sun, 19 Jan 2014 19:23:25 +0000 (+0100) Subject: mjc2wsl - neg command X-Git-Tag: v0.1.4~22 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=29066990720e2feaa5ed90608a9a6a7ea983f7a7;p=mjc2wsl.git mjc2wsl - neg command --- 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();