AnsweredAssumed Answered

Custom Linker Section, recognized in assembly

Question asked by KERRIE NOLLETTE on Mar 20, 2012
Latest reply on Mar 26, 2012 by KERRIE NOLLETTE

We have a project using a mix of C and Assembly on the Coldfire V1, QE256 part.

 

Using the App Note AN4329, I was able to create a custome linker section in the lower half of the memory space

 

  .BooksRange :
  {
    __BOOKS_BASE = .;     #start address of the new books area
    .=ALIGN(512);
    *(.BooksRange)        #actual data matching pragma directives
    __BOOKS_END = .;
    .=ALIGN(512);
  } >> code_00020410

 

This isn't causing any errors that I can tell :smileyhappy:

 

but now I am stumped as how to get code into the BooksRange area, I tried the following but am getting

undefine macro or opcode when I insert this snippit into .asm file

 

    .BooksRange   month1: .byte 1,2,3,4,5

Outcomes