From c8eb38906df3f92412fcbe2e093a1546083c2859 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Sun, 5 Jan 2014 18:19:56 +0100 Subject: [PATCH] mjc2wsl - added partial trap processing, so that the bytes align further --- src/mjc2wsl.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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"); -- 2.25.1