aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-03 20:29:45 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-03 20:29:45 +0200
commit99025b9d34ccad778f11258e186b0bd8dc9c71a4 (patch)
tree4d0720d4c8833610a974913186e9c2fbe5254678 /tests
parent9d76f0b02695c341a0d734b21b4eb8726bbc06fa (diff)
downloadAGH-engineering-thesis-99025b9d34ccad778f11258e186b0bd8dc9c71a4.tar.gz
AGH-engineering-thesis-99025b9d34ccad778f11258e186b0bd8dc9c71a4.zip
rename tclasm.tcl to tclasm_old.tcl (prepare for redesign of the stack machine)
Diffstat (limited to 'tests')
-rwxr-xr-xtests/soc_simple_display/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_add/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_cond_jump/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_div/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_jump/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_load_store/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_mul/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_multiinstructions_load_store/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_store/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_sub/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_swap/instructions.s.tcl2
-rwxr-xr-xtests/stack_machine_old_tee/instructions.s.tcl2
12 files changed, 12 insertions, 12 deletions
diff --git a/tests/soc_simple_display/instructions.s.tcl b/tests/soc_simple_display/instructions.s.tcl
index db142a0..4bfc73f 100755
--- a/tests/soc_simple_display/instructions.s.tcl
+++ b/tests/soc_simple_display/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
## also look at stack_machine_cond_jump test
diff --git a/tests/stack_machine_old_add/instructions.s.tcl b/tests/stack_machine_old_add/instructions.s.tcl
index c3cfe4d..6894ecc 100755
--- a/tests/stack_machine_old_add/instructions.s.tcl
+++ b/tests/stack_machine_old_add/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
### store 2 values to memory, load them back, add them and store the result
diff --git a/tests/stack_machine_old_cond_jump/instructions.s.tcl b/tests/stack_machine_old_cond_jump/instructions.s.tcl
index 467a719..2cce62f 100755
--- a/tests/stack_machine_old_cond_jump/instructions.s.tcl
+++ b/tests/stack_machine_old_cond_jump/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
## also look at stack_machine_jump test
diff --git a/tests/stack_machine_old_div/instructions.s.tcl b/tests/stack_machine_old_div/instructions.s.tcl
index e2d55dc..8a5f5df 100755
--- a/tests/stack_machine_old_div/instructions.s.tcl
+++ b/tests/stack_machine_old_div/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
### store 2 values to memory, load them back, divide one by another and store
### the result (both quotient and remainder); this is analogous to addition
diff --git a/tests/stack_machine_old_jump/instructions.s.tcl b/tests/stack_machine_old_jump/instructions.s.tcl
index f681fc9..359da35 100755
--- a/tests/stack_machine_old_jump/instructions.s.tcl
+++ b/tests/stack_machine_old_jump/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
## Let there be 2 pieces of code - each one storing a different value in memory
## and halting afterwards. Jump instruction should cause the second piece of
diff --git a/tests/stack_machine_old_load_store/instructions.s.tcl b/tests/stack_machine_old_load_store/instructions.s.tcl
index 13cabcb..40a657e 100755
--- a/tests/stack_machine_old_load_store/instructions.s.tcl
+++ b/tests/stack_machine_old_load_store/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
### another simple test - set stack to h7FFFC, store 4 numbers on stack (only 2
### will really get written to memory, other 2 will remain in r0 and r1),
diff --git a/tests/stack_machine_old_mul/instructions.s.tcl b/tests/stack_machine_old_mul/instructions.s.tcl
index 8473aef..969b19a 100755
--- a/tests/stack_machine_old_mul/instructions.s.tcl
+++ b/tests/stack_machine_old_mul/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
### store 4 values to memory; load 2 of them back, multiply them and store the
### result; load another 2, multiply them and store the result;
diff --git a/tests/stack_machine_old_multiinstructions_load_store/instructions.s.tcl b/tests/stack_machine_old_multiinstructions_load_store/instructions.s.tcl
index 58792d3..a6316a3 100755
--- a/tests/stack_machine_old_multiinstructions_load_store/instructions.s.tcl
+++ b/tests/stack_machine_old_multiinstructions_load_store/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
### do the same as in stack_machine_2 test, but use higher level instructions
diff --git a/tests/stack_machine_old_store/instructions.s.tcl b/tests/stack_machine_old_store/instructions.s.tcl
index ddc3a8e..d7e26b0 100755
--- a/tests/stack_machine_old_store/instructions.s.tcl
+++ b/tests/stack_machine_old_store/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
### simple test - write value hDEADBEEF to address h3ABCD
diff --git a/tests/stack_machine_old_sub/instructions.s.tcl b/tests/stack_machine_old_sub/instructions.s.tcl
index 3f8fb48..33873ef 100755
--- a/tests/stack_machine_old_sub/instructions.s.tcl
+++ b/tests/stack_machine_old_sub/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
### store 2 values to memory, load them back, substract them and store the
### result; this is analogous to addition test
diff --git a/tests/stack_machine_old_swap/instructions.s.tcl b/tests/stack_machine_old_swap/instructions.s.tcl
index c17314e..536a921 100755
--- a/tests/stack_machine_old_swap/instructions.s.tcl
+++ b/tests/stack_machine_old_swap/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
set_sp h7FFFC
const h00AD00DE
diff --git a/tests/stack_machine_old_tee/instructions.s.tcl b/tests/stack_machine_old_tee/instructions.s.tcl
index e75b564..7fccd6f 100755
--- a/tests/stack_machine_old_tee/instructions.s.tcl
+++ b/tests/stack_machine_old_tee/instructions.s.tcl
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
-source tclasm.tcl
+source tclasm_old.tcl
set_sp h7FFFC
const hABCDEF