From 8ceaf87c43d412b758bb7562364f7ae8bee913ae Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 8 Apr 2025 21:41:35 -0400 Subject: Add parsing functionality for R-type expressions --- src/util.lisp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/util.lisp') diff --git a/src/util.lisp b/src/util.lisp index 5edee4a..027a770 100644 --- a/src/util.lisp +++ b/src/util.lisp @@ -16,12 +16,9 @@ "R-type instructions.") (defparameter type-i - '(LOAD LOADV ADDI SUBI SFTRI SFTLI ANDI ORI XORI STORE STOREV) + '(LOAD LOADV ADDI SUBI SFTRI SFTLI ANDI ORI XORI STORE STOREV MOV) "I-type instructions.") (defparameter type-j '(JMP JRL JAL BEQ BGT BUF BOF PUSH POP) "J-type instructions.") - -(defparameter label-loc '() - "A symbol table mapping label names to line indices.") -- cgit v1.2.3