The return statement of C can do two things: it can signal the value that is to be returned from this function, and it can actually cause control to jump back to the caller. The former is accomplished in assembler by storing a value into the return variable slot. The latter is accomplished by executing the RET instruction. |