Consider the code sequence below in executing on an SMP system with 2 processors implemented with a snooping bus. The system uses MSI protocol. Assume R2 is initialized to 0x0200 on both processors in cycle C0. ISA format:
Fill in the status of the cache line for the address 0x0200 for each cycle for both processors. In MSI protocol, a cache line can be I (Invalid), S (Shared), or M (Modified) state.
Invalid(I)->cache does not have a copy of data.
shared (S)->cache has a read only copy of data.
Modified(M)->cache has an only copy writable.
Id R1,0 (R2)
Id means instruction data.
This command used for memory read data from cache.so this command is specified by 's'.
Addi R1,0x72
addi means add immediate
This command is used to read data from the given location.
st R1,0 (R2)
Reset the data so we can represent with m.
mul r1,r3,r4
apply multiplication on 2 registers and stored in a another register.
so this command write data to the register so it is represented with m.
Consider the code sequence below in executing on an SMP system with 2 processors implemented with...