Question: Using a sequence of MIPS instructions, create a new instruction that implements a memory to memory move with the auto-increment addressing mode (by 4) where

Using a sequence of MIPS instructions, create a "new instruction" that implements a memory to memory move with the auto-increment addressing mode (by 4) where the syntax is mov (St1)+, (St0)+ Registers $t1 and $t0 are to be initialized to point to two distinct'arrays" of memory locations, where each element in the array is one word (4 bytes). You are to use the "la" (load address) MIPS pseudo-instruction to initialize $tl and St2; no other pseudo-instructions may be used. Below is an example "code snippet" of how to initialize $tl and St0 to point the data, along with appropriate data definitions Stl, arrayl $to, array2 # initialize $t1 to point to memory location with label "array!" # initialize $t0 to point to memory location with label "array2" # MIPS code that actually implements the "enhanced" MIPS instruction specified ori v0, zero, 10 syscall # $v0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
