From a64e3e5280d0a067b14ba0751b4d8fee896a532b Mon Sep 17 00:00:00 2001 From: unlockable Date: Fri, 12 Jul 2024 10:57:21 +0800 Subject: [PATCH] Test pseudo addi --- 17test_pseudo_addi.asm | 3 +++ 17test_pseudo_addi.txt | 4 ++++ 17test_pseudo_addi_mars.txt | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 17test_pseudo_addi.asm create mode 100644 17test_pseudo_addi.txt create mode 100644 17test_pseudo_addi_mars.txt diff --git a/17test_pseudo_addi.asm b/17test_pseudo_addi.asm new file mode 100644 index 0000000..9b0d3bc --- /dev/null +++ b/17test_pseudo_addi.asm @@ -0,0 +1,3 @@ + addi $s0, $zero, 0xfadd +end: + j end \ No newline at end of file diff --git a/17test_pseudo_addi.txt b/17test_pseudo_addi.txt new file mode 100644 index 0000000..852b1af --- /dev/null +++ b/17test_pseudo_addi.txt @@ -0,0 +1,4 @@ +20'd0: instruction <= 32'h3c010000; +20'd1: instruction <= 32'h3421fadd; +20'd2: instruction <= 32'h00018020; +20'd3: instruction <= 32'h08000003; diff --git a/17test_pseudo_addi_mars.txt b/17test_pseudo_addi_mars.txt new file mode 100644 index 0000000..68ac728 --- /dev/null +++ b/17test_pseudo_addi_mars.txt @@ -0,0 +1,4 @@ +3c010000 +3421fadd +00018020 +08000003