aboutsummaryrefslogtreecommitdiff
path: root/tclasm.tcl
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-11-23 11:22:19 +0100
committerWojciech Kosior <kwojtus@protonmail.com>2020-11-23 11:22:19 +0100
commita0e9d28f2a21cc42dff7ed2fce3e52cb04bc5170 (patch)
tree276893fc299d83ceea85c2176c45b00134379270 /tclasm.tcl
parentb44a3a201ee2b524f31aa93abfe4abd8b756a533 (diff)
downloadAGH-engineering-thesis-a0e9d28f2a21cc42dff7ed2fce3e52cb04bc5170.tar.gz
AGH-engineering-thesis-a0e9d28f2a21cc42dff7ed2fce3e52cb04bc5170.zip
add unsigned division remainder instruction
Diffstat (limited to 'tclasm.tcl')
-rwxr-xr-xtclasm.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tclasm.tcl b/tclasm.tcl
index 90adda5..3fa53d2 100755
--- a/tclasm.tcl
+++ b/tclasm.tcl
@@ -376,6 +376,10 @@ proc uge {} {
puts 0011000000001111
}
+proc rem {} {
+ puts 0011000000010000
+}
+
proc ret {} {
puts 0011000010000000