simplify parsing
This commit is contained in:
parent
76bf96b268
commit
e5c68a88ce
3 changed files with 20 additions and 49 deletions
|
@ -120,6 +120,7 @@ enum {
|
|||
|
||||
enum {
|
||||
OXXX,
|
||||
|
||||
/* public instruction */
|
||||
OAdd,
|
||||
OSub,
|
||||
|
@ -135,9 +136,11 @@ enum {
|
|||
OLoadus,
|
||||
OLoadsb,
|
||||
OLoadub,
|
||||
/* reserved instructions */
|
||||
ONop,
|
||||
OCopy,
|
||||
NPubOp,
|
||||
|
||||
/* reserved instructions */
|
||||
ONop = NPubOp,
|
||||
OSwap,
|
||||
OSign,
|
||||
OXDiv,
|
||||
|
@ -145,7 +148,7 @@ enum {
|
|||
OXCmpl,
|
||||
OXSet,
|
||||
OXSet1 = OXSet + NCmp-1,
|
||||
OLast
|
||||
NOp
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue