diff options
author | bd <bdunahu@operationnull.com> | 2025-04-10 20:40:40 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-10 20:40:40 -0400 |
commit | 0f0dd1012d6b1768eb91f1b35e8a7006d09414ab (patch) | |
tree | b0156046a4155284005a1b2c8614f625781b4974 /t/parse.lisp | |
parent | c1507d153161413e4958362d19ae9aa9abedee47 (diff) |
Fix swapped destination + source in immediate i-type instructions
Diffstat (limited to 't/parse.lisp')
-rw-r--r-- | t/parse.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/parse.lisp b/t/parse.lisp index 3c29dbc..8f636e5 100644 --- a/t/parse.lisp +++ b/t/parse.lisp @@ -34,7 +34,7 @@ (emit::x (emit::i "LOADV" (emit::rr 8) (emit::rr 9) (emit::imm 1)) (emit::i "STORE" (emit::rr 3) (emit::rr 5) (emit::imm 3)) - (emit::i "ADDI" (emit::rr 5) (emit::rr 4) (emit::imm 2)))) + (emit::i "ADDI" (emit::rr 4) (emit::rr 5) (emit::imm 2)))) (esrap:parse 'parse:str->ast (format nil ".DATA~%.TEXT~%~tLOADV $8 1($9) ~tSTORE $5 3($3)~%~tADDI $5 $4 2~%"))))) |