Menu

#329 HC08 stack start is not reported correctly in .mem summary

open
nobody
None
5
2011-07-15
2011-07-15
No

sdcc --code-loc 0xc400 --data-loc 0x0080 --xram-loc 0x0080 --stack-loc 0x027f -mhc08 --out-fmt-s19 test2.c
more test.asm (correct output)
__sdcc_gs_init_startup:
ldhx #0x0280
txs

more test2.mem
...
Stack starts at: 0xff (sp set to 0xfe)
...

Discussion


Log in to post a comment.