Question
Computer architecture

Question 28 Answer the following about the two instructions below. il to, (50) sc ti, OC50) # Load Linked # Store Conditional
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.)

  • The load-link/store-conditional operation is not really used to load and store data. It is used to implement syncronization in a program by acquiring a lock through LL operation. The sc only store if no other store operation is performed after the previous LL operatin
  • Answer: False

2.)

  • Yes, LL/SC instruction can be used to implement mutex. The syncronization is done as expplained in the first answer:
  • Answer: True

3.)

  • Yes, sc is cancelled when store operation cannot be performed automatically with LL. It happens when a store operation took place in s0 after the LL operation.
  • Answer: True

4.)

  • Well, s0 does change on store operation but, the feedback is indiacated by the return value from sc operation.
  • The value is 1 if sc succeds, and it is 0 if it fails.
  • Answer: False.
Add a comment
Know the answer?
Add Answer to:
Computer architecture Question 28 Answer the following about the two instructions below. il to, (50) sc...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT