作者mqazz1 (無法顯示)
看板Grad-ProbAsk
標題[理工] [計組] 指令
時間Mon Feb 28 21:54:37 2011
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
推 wxywxywxy:他下面不是都有解說= = lb 就是一次只抓一個byte 02/28 22:37
推 uxijgil:不用定義儲存方式是Big endian or Little endian ? 02/28 23:41
推 compulsory:MIPS為主吧 Big endian 03/01 00:40