This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ore specifically, for any I‐type control flow instruction the range is 216+2 instructions. Note the 4 times larger range because of the shifting of the immediate value when calculating the physical address (this is due to the fact that all instructions are word aligned in memory). The range is much larger for J‐type instructions. With 26 bits in J‐type instruction it is 228 which is still not the maximum possible one. The maximum range is provided by “jr rs” instruction which jumps to the address provided by 32‐bit value in rs register. Therefore, e.g., assuming J‐type instruction, assembler could rewrite the following sequence as here: bne $s0, $s2, skip j there ski...
View Full Document
- Fall '12
- Computer Architecture