• Assign variables to specified registers for inline asm???
    Hi, I want to assign variables of a C file to specified registers for indirect addressing in assembler. Here is a example: void Function (void) interrupt 0 using 1 { unsigned char i; // at r0 ...
  • Pushing Register in ASM function
    Dear all, When I am writing some ASM function, I always need to PUSH the accumulator and all register I have used inside the function. I am wondering if this ASM function is to be called by other C...
  • ARM: asm variable initialization
    Hi Im using a STM32F429ZI and have the folowing problem: In my assembler program i initialize the following variables: AREA myVars, DATA, READWRITE op1_table DCW 0x0001, 0x0017, 0xffff...
  • Accessing local variables in asm
    How can you access local variables in the arm asm block? One example the software came with looks like this and doesn't work: int AddUp ( int n, int near *pTab) { __asm { ; open inline-assembly...
  • Manual variables initialization in asm
    Hello everyone. I have two questions about linker. Actually I'm not sure, it's about linker, but I guess it's about it. Target - Cortex M4F IDE - Keil uVision 5.15 Language - assembler Toolchain...