Unfortunately I don't think you can do the same sort of assembler trick for an ARM target because the return value doesn't have a specific register. Most commonly the return value will be in r0, but that is up to the compiler and can change, particularly when optimizations are turned on.