|
|
发表于 2013-10-23 08:18:12
|
显示全部楼层
instruction length is 32bit, so the least 2 bits should always be zero, the offset in jump instruction omit the least significant two zero, so we should left shift 2 bits
like: addr of inst0 in binary is 0000: jump #10 in fact will jump to 1000 --> inst3
addr of inst1 in binary is 0100: inst2
addr of inst2 in binary is 1000: inst3 |
|