Arbint class with += and -= operators
[ipdf/code.git] / src / tests / asm.cpp
1 #include <cstdlib>
2 #include <cstdio>
3 #include <iostream>
4
5 using namespace std;
6
7
8
9 int main(int argc, char ** argv)
10 {
11         uint32_t a = 4294967295;
12         uint32_t b = 0;
13         uint32_t r = 0;
14         bool c = addc(a, b, &r);
15         printf("%u + %u = %u (%u)\n", a, b, r, (uint32_t)c);
16         
17 }

UCC git Repository :: git.ucc.asn.au