projects
/
dcpu16
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed old skip code
[dcpu16]
/
dcpu16.c
diff --git
a/dcpu16.c
b/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 (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)",
if (value <= 0x07) { /* register */
*v = d->reg + value;
TRACE(">> %c (0x%04x)",