Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online