摘要 |
PURPOSE: A method for implementing integer instruction set and architecture thereof are provided to dissolve a problem that an integer instruction set to efficiently use a wider word so as to execute a more complicated and various application program. CONSTITUTION: An MOVI instruction loads C1(42) into A1(50) in the fourth location(38). The SHORI instruction performs several functions for example, shifting C1(42) in a register A, loading a register B(53) at the forth position(57) with C2(44) and zero extending it for locations(54,55,56) in a register B(53), and bit-wise "ORing" register A2(52) with the register B(53) to get the result, i.e., A3(58) in which C1(42) is in location(36) and C2(44) in location(38). Using another SHORI instruction, C3(46) may be loaded into register B(53) at location(57) with a left shifted A3(58), hence loading the constant(40) into the register A.
|