Ralph Doncaster schreef op 2020-07-26 04:06:
I have been trying to change the default stack location for mcs51, with
no
luck. The .mem file shows no change to where the stack starts at when
I
use the --stack-loc option.
I tried upgrading from 400 to 403, and now I get:
at 1: warning 201: deprecated compiler option '--stack-loc'
How can I set the stack to 0x80?
Hi Ralph,
Can you explain why you would want this? Is the location that the linker
selects not good enough? It selects the largest empty space in idata.
If you really want to and know what you are doing you can set SP in your
main() function.
Maarten
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user