Simple asm question

Parents
  • Note: This was originally posted on 25th July 2009 at http://forums.arm.com

    Why does LR holds 0x42 ?


    LR actually holds 0x43 and is used as a temporary register to store the 4th argument (3rd variadic one) on the stack - at offset 0x11020.  After registers R0 to R3 are used, generally, other arguments are passed on the stack...
Reply
  • Note: This was originally posted on 25th July 2009 at http://forums.arm.com

    Why does LR holds 0x42 ?


    LR actually holds 0x43 and is used as a temporary register to store the 4th argument (3rd variadic one) on the stack - at offset 0x11020.  After registers R0 to R3 are used, generally, other arguments are passed on the stack...
Children
No data
More questions in this forum