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; uint8_t cursorY; unsigned char *buffer; uint8_t cols; uint8_t rows; uint8_t cursorState; __sfr dataPort; __sfr controlPort; } Display; How can I do these? -- thx, ---------------------------------- Zoltan Zidarics programmer PTE-PMMFK H-7621 Pecs, Boszorkany u. 2. Hungary E-Mail: za...@vili.pmmf.hu ---------------------------------- ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user