<<< Selecting Instruction Set | Index | Encoding Instructions >>> |
Once the initial instruction set is determined, next step is to assign opcodes for them.
To do so, instructions are separated into groups with common characteristics:
For example, an ADD instruction supports exact same set of operands as the SUB instruction.
NOT instruction requires a single operand, so does the NEG instruction.
etc.
Once all the instructions are grouped by their respected categories, the next step is to encode the actual opcodes.
<<< Selecting Instruction Set | Index | Encoding Instructions >>> |