Returning Values From Functions

The compiler returns function results in registers A, R0, R2, and Y0:

Additionally, the compiler: