Open jbush001 opened 6 years ago
The motivation for this is that I want to add a bunch of new control registers and space is quickly running out (there are already 19 used, and there are features that want to at least another 17)
There are plenty of other functions in the future that could be useful to put into control registers.
Currently the control register index uses a 5 bit register field for the R format instruction. Change to instead use the immediate field of an immediate instruction, expanding total available registers.
(issue #145 will do this more cleanly, this is an interim change before that one)