I'm working on a CPU design, and I'd like some advice on what instructions I should put in it. I have a few ideas on what I definitely want, but not enough to make a full CPU.
A few I definitely want: (feel free to convince me otherwise if you have a good reason to do so)
AND
OR
NOT
PGT (an idea I had basically it allows for up to 4 times more RAM addressing by doing a RAM paging method reminiscent of the 84's, where activating this command switches pages and leaves only a small portion of the RAM, or even just the registers, present.)
Ways to manipulate memory and registers
But I only have 2 bits (it's in base 4) so it gets a little complicated. For instance, let's say I want to load something to a register, and registers are only 1 bit (from 0 to 3). That would mean I would have four of my registers taken up with setting it to that specified value, unless I cheat like I did with my old version in an emulator
Any suggestions?
A few I definitely want: (feel free to convince me otherwise if you have a good reason to do so)
AND
OR
NOT
PGT (an idea I had basically it allows for up to 4 times more RAM addressing by doing a RAM paging method reminiscent of the 84's, where activating this command switches pages and leaves only a small portion of the RAM, or even just the registers, present.)
Ways to manipulate memory and registers
But I only have 2 bits (it's in base 4) so it gets a little complicated. For instance, let's say I want to load something to a register, and registers are only 1 bit (from 0 to 3). That would mean I would have four of my registers taken up with setting it to that specified value, unless I cheat like I did with my old version in an emulator
Any suggestions?