What is the value stored in contr_status register?
When the controller simulation does its thing (either r/w to disk or r/w to memory), it is going to get a return status (which is presented to your simulation as the return value of the C call to the memory or disk). This is what has to be put into the contr_status register before interrupting the processor. The point is the processor code can look at this status register to know the result of the command it just gave to the controller. You should have of course a contr_status register and representation in the datapath as to how the return values from the interface function calls to the disk and memory get to this status register and a control signal for latching the register. • What needs to happen in the SEEK FSM? Answer: You get into the state for that FSM, do the seek interface call using the contents of the controller registers which have been set by the processor (the call happens instantaneously from the point of view of your state machine), get the status and latch it into the