KEEP directive instructs the assembler to retain named local labels in the symbol table in the object file.
is the name of the local label to keep. If
labelisnot specified, all named local labels are kept except register-relativelabels.
By default, the only labels that the assembler describes inits output object file are:
Labels that are relocated against.
KEEP to preserve local labels.This can help when debugging. Kept labels appear in the ARM debuggersand in linker map files.
KEEP cannot preserve register-relativelabels or numeric local labels.
label ADC r2,r3,r4 KEEP label ; makes label available to debuggers ADD r2,r2,r5