Project:Ball Computer: Difference between revisions

From London Hackspace Wiki

m
(Added thoughts on memory and encoding.)
Line 35: Line 35:


Some possible examples:
Some possible examples:
0000 = 0
* 0000 = 0
0010 = 2
* 0010 = 2
1001 = 9
* 1001 = 9
1100 0001 = a
* 1100 0001 = a
1101 0010 = r
* 1101 0010 = r
1110 0001 = read nibble from memory
* 1110 0001 = read nibble from memory
1110 0010 = write nibble to memory
* 1110 0010 = write nibble to memory
1110 0011 = add
* 1110 0011 = add


This isn't especially compact, but would seem to make it easy to separate different operations.
This isn't especially compact, but would seem to make it easy to separate different operations.