package de.hwp.tinyvm;

public enum Commands {
    MOVE_FROM_MEM_TO_REG(0),
    MOVE_FROM_REG_TO_MEM(1),
    MOVE_FROM_REG_TO_REG(2),
    MOVE_FROM_MEM_TO_MEM(3),
    AND(4),
    OR(5),
    MUL(6),
    DIV(7),
    SUB(8),
    ADD(9),
    HIG(10),
    EQU(11),
    NOT(12),
    RET(13),
    JIT(14),
    JSR(15),
    JMP(16);

    int value;

    Commands(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}
@@ -316,16 +316,52 @@
  JMP(16)
+,%0A    PRINTREG(17),%0A    PRINTMEM(18)
 ;%0A%0A    i
@@ -489,8 +489,9 @@
 %0A    %7D%0A%7D
+%0A

Update Commands.java