11 ms·
Why would 12 bit be easier? It's written in C. For any given opcode you can just do a direct comparison in c to a char type. It would be easier to enter the ins
by danielmarkbruce 4y ago
Why would 12 bit be easier? It's written in C. For any given opcode you can just do a direct comparison in c to a char type. It would be easier to enter the instructions in text and the program read it, it would be easier to compare.
I could easily be missing something here, but any time you have to chose between a nice round single byte and something else in c, it sounds like extra work to choose something else.
- benj111 4y agoTo me the tradeoff is mask and shift / bitfield v go get instruction, this instruction relies on data, go get the data, now complete the instruction. It seems to me that would add complication, more so than a weird width. I suppose you could conceptualise an instruction data pair as one 16 bit instruction.
- danielmarkbruce 4y agoI see your point, I think I agree with you on second thought.