I tought that I was OK at C until I was working on this just now. I am working through someones Framework and modifying it for my needs.
On trying to read it, I found this:
Im not sure if any of you guys are familiar with the 8051 processor and if not then just ignore the "xdata" and "data" statments as they are just different RAM spaces.Code:static xdata setup_dat * data sdat = (xdata setup_dat *)&SETUPDAT;
Can you tell me what this whole thing means?
If you are an 8051 developer then I have another question.
Is that the decleration of a pointer in data that points to something in xdata OR a pointer in xdata that points to something in data?Code:xdata type * data variable