07-17-2016, 10:09 AM
Hi mathijs,
Most people use 4/5 bits for opcode and 3 bits for registers You're not alone there.
I mostly use spreadsheets from google docs:
https://docs.google.com/spreadsheets/d/1...sp=sharing
It makes it easier for others to see what it does.
- is it an idea to make the stack refer to a particular register (like 111 = stack) it makes decoding it somewhat easier
- because its a 16 bit IS you could have some more stuff like addimmidiate stuff so you dont have to sacrifice registers for constants
Most people use 4/5 bits for opcode and 3 bits for registers You're not alone there.
I mostly use spreadsheets from google docs:
https://docs.google.com/spreadsheets/d/1...sp=sharing
It makes it easier for others to see what it does.
- is it an idea to make the stack refer to a particular register (like 111 = stack) it makes decoding it somewhat easier
- because its a 16 bit IS you could have some more stuff like addimmidiate stuff so you dont have to sacrifice registers for constants