KBone12 / nand2tetris-rs

I try doing [Nand to Tetris](https://www.nand2tetris.org/) in Rust.
https://kbone12.github.io/nand2tetris-rs/
1 stars 0 forks source link

Not, And, Or を実装する #7

Closed KBone12 closed 3 years ago

KBone12 commented 3 years ago

最も基本的な論理チップである、Not, And, Or を実装する。

KBone12 commented 3 years ago

Not

in out
0 1
1 0

And

X Y out
0 0 0
0 1 0
1 0 0
1 1 1

Or

X Y out
0 0 0
0 1 1
1 0 1
1 1 1
KBone12 commented 3 years ago

47dca8c で実装したので close します。