Jump anywhere: Difference between revisions
m
→{{header|MIPS Assembly}}
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 1,963:
* <code>j 0xNNNNNNNN</code> sets the program counter equal to <code>0xNNNNNNNN</code>.
* <code>jr $NN</code> sets the program counter equal to the value in register <code>$NN</code>.
* <code>jal 0xNNNNNNNN</code> sets the program counter equal to <code>0xNNNNNNNN</code>, and moves the old program counter plus 8 into register <code>$ra</code>.
* <code>jalr $NN,0xNNNNNNNN</code> sets the program counter equal to <code>0xNNNNNNNN</code> and moves the old program counter into register <code>$NN</code>.
|