Espozo wrote:
This is kind of random, but on the 65816, I've noticed that all the instructions fit in 8 bits, and I was wondering, is there some kind of big penalty if you increased it, and if you do increase it, could you just add one or two bit, or would it make more sense to increase it by a byte?
You could make the data bus wider, but if most of the instructions/data aren't using the extra bits, then those bits can add up to a lot of unused memory. An 8-bit alternative might be to use an instruction that changes to another mode, where all the opcodes could have a different meaning. If the most common ones could exist in both sets, maybe you wouldn't have to switch as often. Going to 16-bit wide seems like it would at least have the benefit of speeding up some operations, like reading a 16-bit operand in one cycle. Or reading an opcode + 8-bit operand in one cycle.