Zuletzt aktiv 20 hours ago Unlisted

Änderung 45231a786cb8c1544a2bb9ff9136763f6d6d6635

addition.rejoice Originalformat Playground
1( Add 73 + 124 in binary by adding each bit to the bag. )
2
3n^73 ret.n1 Bits @Ret.N1
4n^124 ret.n2 Bits @Ret.N2
5Add
6
7( Decimal to Binary )
8@Bits
9 'b7/n^128 'b6/n^64 'b5/n^32 'b4/n^16
10 'b3/n^8 'b2/n^4 'b1/n^2 'b0/n
11[Ret.N1]/ret.n1
12[Ret.N2]/ret.n2
13
14( Adder with Carry )
15@Add
16 b0/[b1^2] b2/[b1^2] b3/[b2^2]
17 b4/[b3^2] b5/[b4^2] b6/[b5^2] b7/[b6^2]
18
19( Binary to Decimal )
20
21n^128/b7 n^64/b6 n^32/b5 n^16/b4
22n^8/b3 n^4/b2 n^2/b1 n/b0
23