aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-14 17:20:35 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-14 17:20:35 +0200
commit76fad4a36b498db9e96e77460cb1f5e721c0f3e9 (patch)
treec2ee0d6fec6034d28bb4fb2a733242b79a228caf
parentbd26f7f0adba2963f6d4a4657fe2795c696126c8 (diff)
downloadAGH-engineering-thesis-76fad4a36b498db9e96e77460cb1f5e721c0f3e9.tar.gz
AGH-engineering-thesis-76fad4a36b498db9e96e77460cb1f5e721c0f3e9.zip
fix outdated information in comments
-rw-r--r--tests/stack_machine_multiinstructions_load_store/instructions.s.tcl5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/stack_machine_multiinstructions_load_store/instructions.s.tcl b/tests/stack_machine_multiinstructions_load_store/instructions.s.tcl
index 6710c0c..d45e8df 100644
--- a/tests/stack_machine_multiinstructions_load_store/instructions.s.tcl
+++ b/tests/stack_machine_multiinstructions_load_store/instructions.s.tcl
@@ -1,4 +1,4 @@
-### set stack to h1FFE00, store 4 numbers (h11223344, h55667788, h8899AABB and
+### set stack to 0, store 4 numbers (h11223344, h55667788, h8899AABB and
### hCCDDEEFF) at addresses h00002E, h00003E, h00004E and h00005E and load them
### back to stack (only 2 will really get written to stack's memory, other 2
### will remain in r0 and r1). Then, write them to h00F0F0, h08F0F0, h10F0F0 and
@@ -42,8 +42,7 @@ const h00F0C0
const -2
load+ h000040
-## use operand addressing to trove value to h1FFFE2 = h1FFFC0 + h000022
-# immediate value gets sign-extended here!
+## use operand addressing to store value to h1FFFE2 = h1FFFC0 + h000022
store+ h1F0F0D
## finish test