Register Usage
Assembler functions may change all register contents in the currently selected register bank as well as the contents of the ACC, B, DPTR, and PSW registers. When invoking a C function from assembly, assume that these registers are destroyed by the C function that is called.