Hi,
Try this macro:

#define PxIN(a) P##a##IN

[email protected] пишет:

Is there a indexable way to access the SFRs?

like: value = PxIN(5); which should do the same like value = P5IN;

Ciao,
         Helmut


------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


------------------------------------------------------------------------

_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to