X-Git-Url: http://git.squeep.com/?p=dcpu16;a=blobdiff_plain;f=dcpu16.c;h=772aec84917cd407884f7a281a6e0ed3be547d29;hp=e231e5f1bca8282945db90c41d2ac2e704631fb7;hb=76e24789b10f9165fa53b569c9ae33504d237ca6;hpb=df965ac8eeee9115d8f8c7e35e8a470b315d3fb4 diff --git a/dcpu16.c b/dcpu16.c index e231e5f..772aec8 100644 --- 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)",