• How do I declare a variable in inline ARM Assembly?
    How do I declare a variable in ARM inline Assembly? And how do I move the value from register to variable and vice versa? Looking for something like this, __asm( variable: Word #22222222 mov...
  • How to access local variable in C51 inline-assembly
    For efficiency,i have to use inline assembly in my code, but I failed to access local variables My code is something like this: void func(void) { unsigned int i; i=0; #pragma asm MOV A,i #pragma...
  • accessing local "c" variables in inline assembly
    How do I access a local variable in assembly? I have used the SRC to determine how the compiler created the variable. it changes it's name from variable to variable?nnn where nnn is a number. ...
  • How do I access void pointer in ARM 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...
  • Branch to a label in inline assembly
    Hi All, I have a label, say "XXX" in the startup assembly code. Later if I want to jump to label "XXX" in the inline assembly by using __asm{ B XXX } The ARMCC compile in Keil MDK complains " the label...