From 97e3ce81ebf9b2ef26ec00b5888a0e24c93016e8 Mon Sep 17 00:00:00 2001 From: Creeper Lv Date: Mon, 4 Aug 2025 06:50:09 +1000 Subject: [PATCH] Simplified the lexer definition. --- src/SVM.Assembler.Core/Assembler.cs | 18 ------------------ src/SVM.Assembler/ISA.xml | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 18 deletions(-) diff --git a/src/SVM.Assembler.Core/Assembler.cs b/src/SVM.Assembler.Core/Assembler.cs index d8be97c..6bef04f 100644 --- a/src/SVM.Assembler.Core/Assembler.cs +++ b/src/SVM.Assembler.Core/Assembler.cs @@ -14,15 +14,6 @@ namespace SVM.Assembler.Core @" Match: -InstMath bmath -InstSDInt32 sd\.int32 -InstSDInt sd\.int -InstSDInt64 sd\.int64 -InstSDLong sd\.long -InstCvt cvt -InstSystem system -InstSys sys -InstSD sd Register \${D}+ LabelCode \.code\: LabelData \.data\: @@ -37,15 +28,6 @@ D \d Id: word Word -InstSDInt64 inst -InstSDLong inst -InstMath inst -InstSDInt inst -InstSDInt32 inst -InstCvt inst -InstSystem inst -InstSys inst -InstSD sd string String Number Number Register Register diff --git a/src/SVM.Assembler/ISA.xml b/src/SVM.Assembler/ISA.xml index ee37af4..e4fdcc6 100644 --- a/src/SVM.Assembler/ISA.xml +++ b/src/SVM.Assembler/ISA.xml @@ -140,5 +140,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file