gitweb on Svarog

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

index 4c7618f2a212f0dbdffafebb7915a270fc783666..16b0e3766a5c721e008097b7f223841b105fae4b 100644 (file)
@@ -410,7 +410,12 @@ public class mjc2wsl{
                                break;
                        }
 
-                       //TODO neg, shl, shr, inc
+                       case neg :{
+                               prl(getTop());
+                               prl(cmdToEStack("-tempa"));
+                               break;
+                       }                       
+                       //TODO shl, shr
                        
                        case inc  : {
                                int b1 = get(), b2 = get();
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner