Concept Flow - Return value in R0
Function starts
Compute result
Place result in R0
Return to caller
Caller reads R0 for return value
The function computes a result, stores it in register R0, then returns. The caller reads R0 to get the return value.