#define SWAP2(a) ( (((a) & 0xff) << 8) | \ (((a) >> 8) & 0xff) ) int jzext_ (unsigned short *s) { return (int) SWAP2(*s); }