Relocate Stack Start Address

Hi all,

I wonder if anyone could help me with moving the start address of my stack for a test. I have added STARTUP.A51 from the kiel library to my local project and have it in the build tree.

I have changed

;        MOV     SP,#?STACK-1
        MOV      SP,#0060H

as I want the stack to start at 0060 not the autogenerated start address. However, when I compile I always get the auto start address. No errors or warnings. The compiler appears to call the STARTUP.A51 file so does anyone know why this might not work?

Cheers,

Dirk

More questions in this forum