Download CSE 431. Computer Architecture

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Instructions for Accessing Procedures

MIPS procedure call instruction:
jal
ProcedureAddress
#jump and link

Saves PC+4 in register $ra to have a link to the next
instruction for the procedure return

Machine format (J format):
op

Then can do procedure return with a
jr

26 bit address
$ra
#return
Instruction format (R format):
op
CSE431 L02 MIPS ISA Review.25
rs
funct
Irwin, PSU, 2005