summaryrefslogtreecommitdiff
path: root/projects/01/Or8Way.tst
diff options
context:
space:
mode:
Diffstat (limited to 'projects/01/Or8Way.tst')
-rw-r--r--projects/01/Or8Way.tst29
1 files changed, 29 insertions, 0 deletions
diff --git a/projects/01/Or8Way.tst b/projects/01/Or8Way.tst
new file mode 100644
index 0000000..e6fbba7
--- /dev/null
+++ b/projects/01/Or8Way.tst
@@ -0,0 +1,29 @@
+// This file is part of www.nand2tetris.org
+// and the book "The Elements of Computing Systems"
+// by Nisan and Schocken, MIT Press.
+// File name: projects/01/Or8Way.tst
+
+load Or8Way.hdl,
+output-file Or8Way.out,
+compare-to Or8Way.cmp,
+output-list in%B2.8.2 out%B2.1.2;
+
+set in %B00000000,
+eval,
+output;
+
+set in %B11111111,
+eval,
+output;
+
+set in %B00010000,
+eval,
+output;
+
+set in %B00000001,
+eval,
+output;
+
+set in %B00100110,
+eval,
+output; \ No newline at end of file