[理工] [計組]Store conditional
張凡上冊p.69下面練習
題目:For each test and fail of the store conditional,how many instructions ne
ed to be executed?
答案:4 instructions
我的想法是
(beq or bne)先比較一次s1和t1的值有沒有改變
(add)將t0設成0---題目說失敗
不知道還有什麼指令呢
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.72.239.82
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1479987974.A.429.html
→
11/24 20:03, , 1F
11/24 20:03, 1F
→
11/24 20:59, , 2F
11/24 20:59, 2F