Endian problem

Motorola byte order
struct ipac_idProm {
    uchar_t pad00;
    uchar_t asciiI;
    uchar_t pad02;
    ...
};
Intel byte order
struct ipac_idProm {
    uchar_t asciiI;
    uchar_t pad01;
    uchar_t asciiP;
    ...
};

Previous slide Next slide Back to first slide View graphic version