From ff01a2d354f1057698e96fcecaa749722a860544 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Sun, 19 Jan 2014 20:19:33 +0100 Subject: [PATCH] mjc2wsl - inc command --- src/mjc2wsl.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.25.1