From 67338780099d1384b36623780a5a63c3be5ade9d Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Sat, 5 Sep 2020 13:00:13 +0200 Subject: add load_store bench for new stack machine --- tclasm.tcl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tclasm.tcl') diff --git a/tclasm.tcl b/tclasm.tcl index 27c92ae..e552b4d 100644 --- a/tclasm.tcl +++ b/tclasm.tcl @@ -76,6 +76,14 @@ proc _store+ {address_part} { puts 011011100[__to_binary $address_part 7] } +proc _load {address_part} { + puts 010111100[__to_binary $address_part 7] +} + +proc _load+ {address_part} { + puts 010011100[__to_binary $address_part 7] +} + proc _set_sp {address_part} { puts 010000000[__to_binary $address_part 7] } -- cgit v1.2.3