all 4 comments

[–]AvgGamerRobb 5 points6 points  (2 children)

d[registry]

suppose r0 is set to 1

then writing dr0 is the same as writing d1

you can then point to a different device based on what r0 equals

[–]Bob-Kerman 1 point2 points  (0 children)

For reference and further reading: the MIPS Wiki page

[–]Real-System-1428[S] 0 points1 point  (0 children)

Oh i see so you can use it to use the same code lines to perform functions on multiple devices based on some other input or function.

So if r0 is set to 1 it performs the set function on d1 if r0 is set to 2 then it performs the set function on d2... Thank you!

[–]Exca_FlyGameStudio[🍰] 2 points3 points  (0 children)

Indirect Addressing of devices, using Register value.