Question: (a) Explain the three instruction formats used by the MIPS processor with appropriate examples from instructions: add, sub, or, and, slt, beq, j, lw,
(a) Explain the three instruction formats used by the MIPS processor with appropriate examples from instructions: add, sub, or, and, slt, beq, j, lw, sw. (b) Explain the addressing modes supported by the MIPS processor for the instructions mentioned in part-a. (c) Show how the value of 12345678H would be stored in memory of a little-endian and a big- endian machine starting at address 2FFFFFFFH. (d) Write MIPS assembly code that creates the 32-bit constant 00FFABCDH and stores that value to register Stl.
Step by Step Solution
3.46 Rating (153 Votes )
There are 3 Steps involved in it
Lets break this down step by step a Instruction Formats in MIPS 1 Rformat Used for arithmetic and lo... View full answer
Get step-by-step solutions from verified subject matter experts
