Re: ARM assembler: labels
- From: Mark L Pappin <mlp@xxxxxxx>
- Date: Tue, 26 Aug 2008 16:32:15 +1000
"Roman Mashak" <mrv@xxxxxxxx> writes:
_exception_vectors:
reset_vector:
ldr pc, =reset_handler
undef_vector:
b undef_vector /* Undefined Instruction */
.....
'_exception_vectors' is not referred anywhere else in the code. I
was asking about such situations. Perhaps Atmel guys writing this
code just forgot to erase old label or they might have left it
deliberately for some reason.
"some reason" could be: documentation, or separation of purpose.
'_exception_vectors' refers to a table of vectors.
'reset_vector' refers to a single vector.
The fact that they both happen to be the same address is not important
in many situations, but the fact that the two concepts exist _is_.
mlp
.
- Follow-Ups:
- Re: ARM assembler: labels
- From: Sergey Kubushin
- Re: ARM assembler: labels
- References:
- Re: ARM assembler: labels
- From: Roman Mashak
- Re: ARM assembler: labels
- Prev by Date: Re: Cheap way of mounting a BGA chip
- Next by Date: AES encrytion (ASIC)
- Previous by thread: Re: ARM assembler: labels
- Next by thread: Re: ARM assembler: labels
- Index(es):
Relevant Pages
|