Browse Source

addition full adder base case 0+0=0 with carryover

master
Dennis Sperzel 12 months ago
parent
commit
b664da82e1
  1. 2
      src/addition.c

2
src/addition.c

@ -2,5 +2,5 @@
#include <stdlib.h> #include <stdlib.h>
void volladdierer (int* s, int* nc, int a, int b, int c) { void volladdierer (int* s, int* nc, int a, int b, int c) {
s[0] = 0;
s[0] = c;
} }
Loading…
Cancel
Save