I have a question about the Store Word function in assembly. I know that the store word writes values to memory locations. But the question in my assignment asks me what the ALU does during these SW operations.
When I simulated it first we add a 0 value to an value we called a. And the ALU shows 0 bit 1 during this operation. But when I assigned another 0 to an value b the ALU shows 4. And in the end when i added a and b with an add and put the result with an sw into the register the ALU showed 8.
here are the operations:
SW $1 , a , $0
SW $1 , b , $0
SW $1 , result , $0
My question is: What does the ALU do during these store word functions?