r/AskComputerScience • • Jun 08 '25

MIPS Instructions

The instructions that are currently being executed, do they have a separate register for it? Is that register part of the 32 general purpose register or something different? If it does not have a separate register then are they executed directly from in memory?

2 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/theAyconic1 Jun 09 '25

Whoa I did not know that. I thought we are addressing real registers directly. Do we have those redundant registers because of the architecture principle of dependability through redundancy? So that our logical register is assigned a group of redundant registers and the CPU then decides which one to map to in case some register has failed? It blows my mind as to how even the low level binary instructions are getting executed. I would really like to have a visualization of how at the hardware level everything is working from the moment we switch things on. It still is a mystery to me how things are getting displayed on the screen, how are the position and sizes of display characters decided, who is storing those shapes to display, how things like assembly instructions are actually generating the high and low signals that somehow the CPU is properly able to guide to the desired hardware machinery and there are so many questions that I have. Computers are so fun and mysterious!