A function may return an integer of num value to the caller by placing it in the register r.0 before returning. This is copied to the num field specified in the External Function in IVR Designer. If a field is not specified for the Return Code, it will be lost.