Website Summary Files Commits Branches @commit @diff @stats
path: root / spasm / src / asm / token.hpp
diff options
context:
space:
mode:
Commitf9654d32bc456d20de03b7eb20888120a59e405d (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-12 23:42:48 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-12 23:42:48 +0200
Files3e1095601a75fe0157142ac92734d3c61d813ad1 /spasm/src/asm/token.hpp
IPL-f9654d32bc456d20de03b7eb20888120a59e405d.tar
IPL-f9654d32bc456d20de03b7eb20888120a59e405d.tar.gz
IPL-f9654d32bc456d20de03b7eb20888120a59e405d.zip
Parentf81f1c56cc01ec3d91a73ec7314519ac59abd5b4 (diff)
The assembler works closes to the instruction set spec
1 files changed, 4 insertions, 4 deletions
-rw-r--r--spasm/src/asm/token.hpp8
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) \