add $5, $7, $2
sw $9, 4($6)
lw $4, 8($12)
or $6, $5, $3
Assume that the code is stored starting at 0x00600000, the values in the memory are all initially -1, and the register values are the same as the number (so $5 holds the value 5). Using the pipelined diagram, give the contents of each internal register at the end of the 4th cycle. Be specific and give the actual values placed into the register.
Register
IF/ID ID/EX EX/MEM MEM/WB
PC>>>>>10(16)>>>>>c>>>>>>8
Read data1>>>>> 12
Read data2>>>>>> 4>>>>> 9
Sign Extend>>>>>> 8
Zero>>>>>>>>>>>>>>>>>> 0
ALU Result >>>>>>>>>>>>>>>>>>>>>> A
Read data>>>>>>>>>>>>>>>>>>>>>>> 9
but I don't understand the memory part I got confused any help please?!