summaryrefslogtreecommitdiff
path: root/src/svm/SVM.tokens
diff options
context:
space:
mode:
Diffstat (limited to 'src/svm/SVM.tokens')
-rw-r--r--src/svm/SVM.tokens56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/svm/SVM.tokens b/src/svm/SVM.tokens
new file mode 100644
index 0000000..e76ba15
--- /dev/null
+++ b/src/svm/SVM.tokens
@@ -0,0 +1,56 @@
+T__0=1
+T__1=2
+T__2=3
+LOAD=4
+STORE=5
+STOREI=6
+MOVE=7
+ADD=8
+ADDI=9
+SUB=10
+SUBI=11
+MUL=12
+MULI=13
+DIV=14
+DIVI=15
+PUSH=16
+PUSHR=17
+POP=18
+POPR=19
+BRANCH=20
+BRANCHEQ=21
+BRANCHLESSEQ=22
+JUMPSUB=23
+RETURNSUB=24
+HALT=25
+REG=26
+LABEL=27
+NUMBER=28
+WHITESP=29
+LINECOMENTS=30
+ERR=31
+'('=1
+')'=2
+':'=3
+'load'=4
+'store'=5
+'storei'=6
+'move'=7
+'add'=8
+'addi'=9
+'sub'=10
+'subi'=11
+'mul'=12
+'muli'=13
+'div'=14
+'divi'=15
+'push'=16
+'pushr'=17
+'pop'=18
+'popr'=19
+'b'=20
+'beq'=21
+'bleq'=22
+'jsub'=23
+'rsub'=24
+'halt'=25