gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
mjc2wsl - inc command
authorDoni Pracner <quinnuendo@gmail.com>
Sun, 19 Jan 2014 19:19:33 +0000 (20:19 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Sun, 19 Jan 2014 19:19:33 +0000 (20:19 +0100)
src/mjc2wsl.java

index 5863979..4c7618f 100644 (file)
@@ -411,6 +411,12 @@ public class mjc2wsl{
                        }
 
                        //TODO neg, shl, shr, inc
                        }
 
                        //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
                        //TODO new_ newarray
                        case new_ :
                                        get();//needs a short, but a byte will be taken bellow as well
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner