[理工] [計組] 指令

看板Grad-ProbAsk作者 (無法顯示)時間14年前 (2011/02/28 21:54), 編輯推噓3(300)
留言3則, 3人參與, 最新討論串1/3 (看更多)
assume that the register $t1 contains the address 0x1000 0000 and the register $t2 contains the address 0x1000 0010 lb $t0, 0($t1) lb $t0, 0($t1) a. sw $t0, 0($t2) b. sb $t0, 0($t2) assume that the data(in hexadecimal) at address 0x1000 0000 is 1000 0000 12 34 56 78 what value is stored at the address pointed to by register $t2? assume that the memory location pointed to $t2 is initialized to 0xFFFF FFFF 請問這要怎麼算呀= =? 這是張凡重點直擊上 第24頁的題目 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.29.221

02/28 22:37, , 1F
他下面不是都有解說= = lb 就是一次只抓一個byte
02/28 22:37, 1F

02/28 23:41, , 2F
不用定義儲存方式是Big endian or Little endian ?
02/28 23:41, 2F

03/01 00:40, , 3F
MIPS為主吧 Big endian
03/01 00:40, 3F
文章代碼(AID): #1DQwaWre (Grad-ProbAsk)
文章代碼(AID): #1DQwaWre (Grad-ProbAsk)