From: Vangelis R. <vr...@ot...> - 2004-06-28 17:06:36
|
On Mon, 28 Jun 2004, jonathan dumaresq wrote: > I have to put some buffer in the bank0 of the data ram ? > > is there a reserved keywork to do this. > > with c18 i used something like this: > > #pragma udata access accessram // to put the ... variable to bank0 > > ..... > > #pragma udata // to replace the default segment at data This request is similar to another made a few days before to place some variables in a specific bank. It is not implemented yet, but its in my to-do list. Probably it is going to have the format: #pragma udata access var0[, var1, ...] which will place variables in access bank and #pragma udata bankN var0[, var1, ...] which will place variables in bankN I also plan to take advantage of the C language 'register' keyword, which will place the variable in access bank. Vangelis |