gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
fix for the optional generation of opcodes in comments
[mjc2wsl.git] / src / mjc2wsl.java
index 97e61ac..a140ced 100644 (file)
@@ -392,9 +392,9 @@ public class mjc2wsl{
                prl("SKIP;\n ACTIONS a" + (14 + mainAdr) + " :");
                int op = get();
                while (op >= 0) {
+                       prl(" a" + counter + " == ");
                        if (originalInComments)
                                prl(createComment(describeOpCode(op), C_OC));
-                       prl(" a" + counter + " == ");
                        if (genPrintForEachAddress) {
                                prl("PRINT(\"a" + counter + "\");");
                                if (genPauseAfterEachAddress)
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner