Passing parameters to called function and passing return values using CPU registers