Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question

Procedure / function calling

  1. Place parameters in registers a0 to a7
  2. Transfer control to procedure (jal ra, Proc)
  3. Acquire storage for procedure ([...]
  4. Perform procedure's operations
  5. Place result in register a0 for caller
  6. Free storage of procedure (addi sp, sp, +…)
  7. Return to place of call (jalr zero, 0(ra))
Answer
addi sp, sp, -…)

Question

Procedure / function calling

  1. Place parameters in registers a0 to a7
  2. Transfer control to procedure (jal ra, Proc)
  3. Acquire storage for procedure ([...]
  4. Perform procedure's operations
  5. Place result in register a0 for caller
  6. Free storage of procedure (addi sp, sp, +…)
  7. Return to place of call (jalr zero, 0(ra))
Answer
?

Question

Procedure / function calling

  1. Place parameters in registers a0 to a7
  2. Transfer control to procedure (jal ra, Proc)
  3. Acquire storage for procedure ([...]
  4. Perform procedure's operations
  5. Place result in register a0 for caller
  6. Free storage of procedure (addi sp, sp, +…)
  7. Return to place of call (jalr zero, 0(ra))
Answer
addi sp, sp, -…)
If you want to change selection, open document below and click on "Move attachment"

Open it
Procedure / function calling Place parameters in registers a0 to a7 Transfer control to procedure (jal ra, Proc) Acquire storage for procedure (addi sp, sp, -…) Perform procedure's operations Place result in register a0 for caller Free storage of procedure (addi sp, sp, +…) Return to place of call (jalr zero, 0(ra))

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.