607
edits
m (Negative numbers.) |
m (→Encoding) |
||
| Line 54: | Line 54: | ||
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: | What about negative numbers? Do we use another nibble (one of the instruction ones) to indicate that? e.g. 1111 is negative (this halves the number of instructions possible to 16). Thus: | ||
* 1111 0010 = -2 | * 1111 0010 = -2 | ||