01-01-2015, 07:59 PM
(01-01-2015, 09:37 AM)newomaster Wrote: I thought about doing something like this a while back but school started and I never really got around to it. Glad to see someone gave it a go. Another thing you may want to try is have analog hex input and analog decimal output somehow and then figure out how to condense the conversion from there - there's probably some interesting conversion algorithms you could derive using hexadecimal instead of straight up binary.
I was hoping double dabble would let me do that, but after I finished a cell and started stacking, I realized that the input always goes into the Cin.
I googled for hex to dec conversion but the algorithms I found involve multiplication in dec. I havent quite figured out the best way to do that yet.
So the only way I can think to do that right now is just throw some hex to bin decoders in the inputs... but thats a really slow cop-out.
So far, I've gotten each double cell down to 7 ticks. I combined the 2 so there would only be 2 inversions instead of 4.
Also, at least it seems like I dont need the first 3 shifts since it wont add 3 until there are 3 bits.