alicj / CPUSimulator

MIT License
1 stars 0 forks source link

Change value in destination boxes as bits coming in #9

Open alicj opened 7 years ago

alicj commented 7 years ago

When a string of bits coming into a box from the copper trace, change it's value according to the order the bits coming in. I.e. if 00001011 was coming into a box with initial value 0, the animation will go as follows:

-00001011-[0]
--00001011[0]
---0000101[1]
----000010[3]
-----00001[3]
------0000[11]
-------000[11]
--------00[11]
---------0[11]
----------[11]
alicj commented 7 years ago

completed increment for positive numbers in bf53f346986cb5625c358105a1969c79c4a84673. Need to work on negative numbers.