From: Doni Pracner Date: Sun, 19 Jan 2014 19:19:33 +0000 (+0100) Subject: mjc2wsl - inc command X-Git-Tag: v0.1.4~23 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=ff01a2d354f1057698e96fcecaa749722a860544;p=mjc2wsl.git mjc2wsl - inc command --- diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 5863979..4c7618f 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -411,6 +411,12 @@ public class mjc2wsl{ } //TODO neg, shl, shr, inc + + case inc : { + int b1 = get(), b2 = get(); + prl(loc(b1)+" := " +loc(b1)+" + "+b2); + break; + } //TODO new_ newarray case new_ : get();//needs a short, but a byte will be taken bellow as well