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 586397978394039c45dc3a1d512405e6b529015f..4c7618f2a212f0dbdffafebb7915a270fc783666 100644 (file)
@@ -411,6 +411,12 @@ public class mjc2wsl{
                        }
 
                        //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
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner