From 76e24789b10f9165fa53b569c9ae33504d237ca6 Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Fri, 13 Apr 2012 14:46:58 -0700 Subject: [PATCH] removed old skip code --- dcpu16.c | 8 -------- 1 file changed, 8 deletions(-) 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)", -- 2.45.2