feed the c function the right pointer
use r0 for the pointer to the frame and r1 to calculate stack alignment so we remove the need for a mov