Rafał Miłecki wrote: > +#define SPEX(_field, _offset, _mask, _shift) \ > + bus->sprom._field = ((sprom[SPOFF(_offset)] & (_mask)) >> (_shift)) Maybe this should take at least bus as parameter too? //Peter