This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Label Addressing in Arm Assembly

Dear All,

I need some help regarding label addressing. I was going through the following code.

"Stack_Size EQU 0x00000400

AREA STACK, NOINIT, READWRITE, ALIGN=3
__stack_limit
Stack_Mem SPACE Stack_Size
__initial_sp

In the above code, an ELF section is created using AREA directive and stack memory of Stack_Size is allocated. There are two labels __stack_limit and __initial_sp. As per my understanding, the label stores the address of instruction or data. But __stack_limit and __initial_sp doesn't corresponds to any instruction or data. So what does this labels store ? I looked at arm assembly reference manual and user guide but couldn't able to get anything out of them.

Thanks in Advance,

Vijay.