From: Justin Wind Date: Fri, 13 Apr 2012 21:46:58 +0000 (-0700) Subject: removed old skip code X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=76e24789b10f9165fa53b569c9ae33504d237ca6;p=dcpu16 removed old skip code --- 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)",