aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-09-04 06:56:47 +0900
committernsfisis <nsfisis@gmail.com>2024-09-04 06:56:47 +0900
commit01758fd79a455090167699819cbffd6598cc4f63 (patch)
tree68dbc27a6ba669a8572b51c2e9e57c366d796b6f
parent9d2d2a0b28d86d5c638d48b33fcfb8ab9e2388a0 (diff)
downloadmncore-challenge-01758fd79a455090167699819cbffd6598cc4f63.tar.gz
mncore-challenge-01758fd79a455090167699819cbffd6598cc4f63.tar.zst
mncore-challenge-01758fd79a455090167699819cbffd6598cc4f63.zip
12-Convert-Endian
-rw-r--r--problems/12-Convert-Endian/03.vsm10
1 files changed, 3 insertions, 7 deletions
diff --git a/problems/12-Convert-Endian/03.vsm b/problems/12-Convert-Endian/03.vsm
index bd1791f..f295166 100644
--- a/problems/12-Convert-Endian/03.vsm
+++ b/problems/12-Convert-Endian/03.vsm
@@ -9,14 +9,10 @@
# puts
# puts
-imm i"8" $s1v2
-imm i"16" $s9v2
+imm s"8" $ls0v
+imm i"16" $ls8v
imm i"32" $s17v2
-sbsl $lm0v $ls0v $lr0v
-
-d getd $lr0 1
-quit
-
+sbsl $lm0v $ls0v $nowrite
ibsl $aluf $ls8v $nowrite
lbsl $aluf $ls16v $ln0v