aboutsummaryrefslogtreecommitdiff
path: root/dcpu16.h
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2012-04-24 18:16:32 +0000
committerDimitri Sokolyuk <demon@dim13.org>2012-04-24 18:16:32 +0000
commitd28be64a53c8436359406cd73775f41216155a7d (patch)
treebd7f62bb6423e2828fe21e75cb9ec2015d3828f9 /dcpu16.h
parenta11ec50c0155d4011140486ffb5af92812bf11b4 (diff)
add NOP opcode
Diffstat (limited to 'dcpu16.h')
-rw-r--r--dcpu16.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dcpu16.h b/dcpu16.h
index 20d308e..af96a6e 100644
--- a/dcpu16.h
+++ b/dcpu16.h
@@ -23,7 +23,7 @@ enum { A, B, C, X, Y, Z, I, J, PC, SP, O, Aux, nReg };
enum { EXT, SET, ADD, SUB, MUL, DIV, MOD, SHL,
SHR, AND, BOR, XOR, IFE, IFN, IFG, IFB, nOpt };
-enum { Res, JSR, BRK, nExt };
+enum { NOP, JSR, BRK, nExt };
#define MEMSZ 0x10000