removed old skip code
authorJustin Wind <justin.wind@gmail.com>
Fri, 13 Apr 2012 21:46:58 +0000 (14:46 -0700)
committerJustin Wind <justin.wind@gmail.com>
Fri, 13 Apr 2012 21:46:58 +0000 (14:46 -0700)
dcpu16.c

index e231e5f1bca8282945db90c41d2ac2e704631fb7..772aec84917cd407884f7a281a6e0ed3be547d29 100644 (file)
--- a/dcpu16.c
+++ b/dcpu16.c
@@ -117,14 +117,6 @@ unsigned int value_decode_(struct dcpu16 *d, DCPU16_WORD value, DCPU16_WORD *wor
     if (value >= 0x1f)
         retval = 1;
 
-    /* if we're skipping this instruction, just advance the pc if needed */ 
-    if (d->skip_) {
-        TRACE(">>      SKIP decode");
-        if ((value >= 0x10 && value <= 0x17) || value == 0x1e || value == 0x1f)
-            d->pc++;
-        return retval;
-    }
-
     if (value <= 0x07) { /* register */
         *v = d->reg + value;
         TRACE(">>     %c (0x%04x)",