<<< Extending the Simplified Instruction Set (not x86!)     Index     Prefix-Extending the Simplified Instruction Set (not x86!) >>>

30. Problem with Extending the Simplified Instruction Set (not x86!)


  • Unfortunately, the simplified CPU doesn't have that many illegal opcodes available.

  • For example, to add new single-operand instructions

        SHL - shift left
        SHR - shift right
        ROL - rotate left
        ROR - rotate right
    
  • Imaginary single-operand instruction encoding:

      single operand instruction encoding

<<< Extending the Simplified Instruction Set (not x86!)     Index     Prefix-Extending the Simplified Instruction Set (not x86!) >>>