Add solutions for part 1
This commit is contained in:
9
projects/02/IsNeg.hdl
Normal file
9
projects/02/IsNeg.hdl
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
CHIP IsNeg {
|
||||
IN in[16];
|
||||
OUT out;
|
||||
|
||||
PARTS:
|
||||
Not(in=in[15], out=notneg);
|
||||
Not(in=notneg, out=out);
|
||||
}
|
||||
Reference in New Issue
Block a user