Hi everyone,

I'm trying to call the function, which is placed in the upper memory
(starting with 0x10000 address), but instead of

calla    #0x10000

in disassembly I get

44a8:    b0 12 00 00     call    #0x0000


though the function is placed really to the 0x10000 address:

00010000 <delay>:
   10000:    04 12       push    r4
   10002:    04 41       mov     r1,    r4
.....

Should I use some special compiler instruction to enable calls from the
upper memory or is it a bug?
Now I'm calling the compiler like this:

msp430-gcc -mmcu=msp430x5529 -mcpu=430xv2 -Wl,--section-start
-Wl,.mysec=0x10000 -o main.elf main.c

Any help would be appreciated.

Best regards,
Glib
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to