|
The subtraction is cheating a LOT.
Adding and subtracting is done in Binary, by dealing with it in Decimal you actually have to increment, decriment, add, and subtract in addition to the comparing (which is done in the hardware and XORs, ORs, ANDs, etc.)
To improve your code I would suggest working in Binary and figuring out how to ADD without using addition (look at your else cases).
__________________
--------------------
LOAD "*" ,8,1
God bless
- Gryfang
|