Re: [Sdcc-user] passing mcs51 sfr to function and store to it

2010-12-14 Thread zamek
hi Marteen, thx, for response. I get a code slice at http://www.mail-archive.com/sdcc-user@lists.sourceforge.net/msg00639.html It is very ugly code, but maybe usable. 12/14/2010 11:57 PM keltezéssel, Maarten Brock írta: > Hi, > > This is impossible. The sfr's are not indirectly > accessable on

Re: [Sdcc-user] passing mcs51 sfr to function and store to it

2010-12-14 Thread Maarten Brock
Hi, This is impossible. The sfr's are not indirectly accessable on almost all mcs51 compatible derivatives. Maarten > Hi All, > > Is there any method to passing an sfr addres to a function? > And I need to store sfr address to a struct like this: > > typedef struct { > uint8_t cursorX;