From 40a11a7155bc474d85ded1fef183baae2007f101 Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Sat, 5 Sep 2020 16:43:32 +0200 Subject: add tee instruction together with bench --- tests/stack_machine_tee/instructions.s.tcl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tests/stack_machine_tee/instructions.s.tcl (limited to 'tests/stack_machine_tee/instructions.s.tcl') diff --git a/tests/stack_machine_tee/instructions.s.tcl b/tests/stack_machine_tee/instructions.s.tcl new file mode 100755 index 0000000..98117c7 --- /dev/null +++ b/tests/stack_machine_tee/instructions.s.tcl @@ -0,0 +1,14 @@ +#!/usr/bin/env tclsh + +source tclasm.tcl + +### All three stores should write the hABCDEF + +set_sp 0 +const hABCDEF +tee +store h000100 +tee +store h000200 +store h000300 +halt -- cgit v1.2.3