29 lines
466 B
Scilab
29 lines
466 B
Scilab
|
// 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;
|