mirror of
https://github.com/usatiuk/nand2tetris.git
synced 2025-10-28 16:17:48 +01:00
19 lines
329 B
Plaintext
19 lines
329 B
Plaintext
// This file is part of www.nand2tetris.org
|
|
// and the book "The Elements of Computing Systems"
|
|
// by Nisan and Schocken, MIT Press.
|
|
// File name: tools/builtIn/Add16.hdl
|
|
|
|
/*
|
|
* Adds two 16-bit values.
|
|
* The most significant carry bit is ignored.
|
|
*/
|
|
|
|
CHIP Add16 {
|
|
|
|
IN a[16], b[16];
|
|
OUT out[16];
|
|
|
|
BUILTIN Add16;
|
|
}
|
|
|