diff options
The assembler works closes to the instruction set spec
1 files changed, 4 insertions, 4 deletions
| -rw-r--r-- | spasm/src/asm/token.hpp | 8 |
diff --git a/spasm/src/asm/token.hpp b/spasm/src/asm/token.hpp index 4ef7ce0..5f3b6b9 100644 --- a/spasm/src/asm/token.hpp +++ b/spasm/src/asm/token.hpp @@ -4,9 +4,9 @@ #include <string> #define TOKENS \ + TOK(dup) \ TOK(push) \ TOK(pop) \ - TOK(dup) \ TOK(print) \ TOK(read) \ TOK(plus) \ @@ -14,9 +14,9 @@ TOK(multiply) \ TOK(divide) \ TOK(modulus) \ - TOK(gotrue) \ - TOK(gofalse) \ - TOK(go) \ + TOK(jmpt) \ + TOK(jmpf) \ + TOK(jmp) \ TOK(call) \ TOK(ret) \ TOK(load) \ |
