• i am facing problem in code?

    Kaustuk
    Kaustuk

    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 j
    ust store some number so where is my code wrong?
    area prog1,code,readonly
        entry
        ldr r1,=0x4020
        ldr r2,=label
        str r2,[r1…

    • Answered
    • over 2 years ago
    • Software Tools
    • Keil forum
  • How to access local C variables in Inline-Assembly?

    Muzahir
    Muzahir

    How do I access local C variables in Keil using ARM inline Assembly?

    • over 2 years ago
    • Software Tools
    • Keil forum
  • How do I access void pointer in ARM Assembly?

    Muzahir
    Muzahir

    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?

    • over 2 years ago
    • Software Tools
    • Keil forum
  • View related content from anywhere
  • More
  • Cancel