Re: [Sdcc-user] Placing data in udata_shr on PIC14

2013-02-15 Thread Erlo Haugen
On 02/15/2013 04:53 PM, Gál Zsolt wrote: > Hello Erlo, > > As I know that area is used by STKxx regs as a STACK and context > saving for interrupt routine. So I think, you cant put any variable on > that area. > > Zsolt > That is correct, but the stack size can be adjusted, making room for other

Re: [Sdcc-user] Placing data in udata_shr on PIC14

2013-02-15 Thread Gál Zsolt
Hello Erlo, As I know that area is used by STKxx regs as a STACK and context saving for interrupt routine. So I think, you cant put any variable on that area. Zsolt 2013/2/15 Erlo Haugen : > Hello everybody > Is there a way to tell the compiler to place one or more variables in > the udata_shr s

[Sdcc-user] Placing data in udata_shr on PIC14

2013-02-15 Thread Erlo Haugen
Hello everybody Is there a way to tell the compiler to place one or more variables in the udata_shr segment? I am aware of linker option --preplace-udata-with=[kword], but that will just put everything in one place - or? I could use absolute adressing, eg. uint8_t xx __at 0x70, but this exact