Added NOP to opcodes so ordinals match the book
This commit is contained in:
parent
6a30c4db8b
commit
7a8fb2564c
@ -1,5 +1,5 @@
|
|||||||
package triangle.abstractMachine;
|
package triangle.abstractMachine;
|
||||||
|
|
||||||
public enum OpCode {
|
public enum OpCode {
|
||||||
LOAD, LOADA, LOADI, LOADL, STORE, STOREI, CALL, CALLI, RETURN, PUSH, POP, JUMP, JUMPI, JUMPIF, HALT
|
LOAD, LOADA, LOADI, LOADL, STORE, STOREI, CALL, CALLI, RETURN, NOP, PUSH, POP, JUMP, JUMPI, JUMPIF, HALT
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user