Anonymous

Project:Ball Computer: Difference between revisions

From London Hackspace Wiki
m
Negative numbers.
m (Negative numbers.)
Line 53: Line 53:


This isn't especially compact, but would seem to make it easy to separate different operations (e.g. to pass instructions to the memory unit).
This isn't especially compact, but would seem to make it easy to separate different operations (e.g. to pass instructions to the memory unit).
What about negative numbers? Do we use another nibble (one of the instruction ones) to indicate that? e.g. 1111 is negative. Thus:
* 1111 0010 = -2
* 1111 1001 = -9
* 1111 1001 0111 = -97
Need to learn more about logic gates required to handle BCD.


== Memory ==
== Memory ==