str r0, [sp, #4]
to pass the ptr to add10
add r0, sp, #4 // put the ptr relative to the stack ptr on r0 before call
then the value is loaded from the stack into r1 before the printf call
ldr r1, [sp, #4]
str r0, [sp, #4]
to pass the ptr to add10
add r0, sp, #4 // put the ptr relative to the stack ptr on r0 before call
then the value is loaded from the stack into r1 before the printf call
ldr r1, [sp, #4]
Made it more interesting ;)
Made it more interesting ;)
NVIDIA is a hardware and compiler company.
NVIDIA is a hardware and compiler company.
arrow.apache.org/blog/2024/10...
arrow.apache.org/blog/2024/10...