I am new to the arm & I was writting the code in keil to store the number using DCD but i am unable to store it & instead it just store some number so where is my code wrong?area prog1,code,readonly entry ldr r1,=0x4020 ldr r2,=label str r2,[r1…
How do I access local C variables in Keil using ARM inline Assembly?
How can I access the void pointer in C, using arm inline assembly. I want to get the address of the pointer. Something like this,
void* funcAddr;
__asm(
"LDR r0, =funcAddr"
);
Is there any way to do this?