Forums

IAR: Fill unused code memory in asm Project

Started by aschuh September 12, 2008
Hello Group,

normally i fill the unused code memory with 'nop' or 'jmp $'
instructions.

At the moment i'm working on an old assembler Project that runs on an
F149 with a lot too much flash memory.
When i activate the 'fill unused code memory' option the linker doesnt
add the nop instructions to the code. After a look into the iar manual
i found out that the linker option 'fills all gaps between segment
parts', so i named the code memory with:

ASEG CODE
ORG 01100h

but still nothing happens.

What am i doing wrong?

Beginning Microcontrollers with the MSP430