It now adds 8 and 3, and prints the result, but it is not a universal 7 bit adder yet

master
Micke Nordin 7 years ago
parent 7a148dc155
commit eec3db9d32

@ -60,7 +60,25 @@
38:1,1,39,0,0,307
# If we get this far we have overflow and should end the program
39:1,0,0,0,0,0
39:1,0,510,0,0,0
527:0,0,0,1,0,0
526:0,0,527,1,0,527
525:0,0,526,1,0,526
524:0,0,525,1,0,525
523:0,0,524,1,0,524
522:0,0,523,1,0,523
521:0,0,522,1,0,522
520:0,0,521,1,0,521
501:0,0,520,0,0,520
502:0,0,501,1,0,501
503:0,0,502,1,0,502
504:0,0,503,1,0,503
505:0,0,504,1,0,504
506:0,0,505,1,0,505
507:0,0,506,1,0,506
508:0,0,507,1,0,507
509:0,0,508,1,0,508
510:0,0,509,1,0,509
# Here we need to go back to reg pos 0 after the decrementer is done
300:0,0,41,0,0,41

@ -1,4 +1,4 @@
1
0
1
15
0

@ -1,4 +1,4 @@
0
1
1
16
0

@ -1,6 +1,6 @@
1
0
0
510
0
0
0

@ -0,0 +1,6 @@
0
0
520
0
0
520

@ -0,0 +1,6 @@
0
0
501
1
0
501

@ -0,0 +1,6 @@
0
0
502
1
0
502

@ -0,0 +1,6 @@
0
0
503
1
0
503

@ -0,0 +1,6 @@
0
0
504
1
0
504

@ -0,0 +1,6 @@
0
0
505
1
0
505

@ -0,0 +1,6 @@
0
0
506
1
0
506

@ -0,0 +1,6 @@
0
0
507
1
0
507

@ -0,0 +1,6 @@
0
0
508
1
0
508

@ -0,0 +1,6 @@
0
0
509
1
0
509

@ -0,0 +1,6 @@
0
0
521
1
0
521

@ -0,0 +1,6 @@
0
0
522
1
0
522

@ -0,0 +1,6 @@
0
0
523
1
0
523

@ -0,0 +1,6 @@
0
0
524
1
0
524

@ -0,0 +1,6 @@
0
0
525
1
0
525

@ -0,0 +1,6 @@
0
0
526
1
0
526

@ -0,0 +1,6 @@
0
0
527
1
0
527

@ -0,0 +1,6 @@
0
0
0
1
0
0
Loading…
Cancel
Save