From: Doni Pracner Date: Sun, 5 Jan 2014 17:19:56 +0000 (+0100) Subject: mjc2wsl - added partial trap processing, so that the bytes align further X-Git-Tag: v0.1.4~46 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=c8eb38906df3f92412fcbe2e093a1546083c2859;p=mjc2wsl.git mjc2wsl - added partial trap processing, so that the bytes align further --- diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 6813fbf..0adf8f9 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -426,15 +426,22 @@ public class mjc2wsl{ prl("PRINT(tempb);"); break; } + + case trap: { + // TODO finish trap + prl(createComment("trap not fully procesed yet")); + message("trap not fully procesed yet", M_WAR); + get(); + break; + } + + default: prl(createComment("unknown op error: " + op, C_ERR)); message("unknown op error: "+ op, M_ERR); break; } - //TODO trap - - op = get(); if (op >= 0) prl("CALL a" + counter + " END");