ack/util/ceg/ce_back/obj_back/con4.c

22 lines
364 B
C
Raw Normal View History

1987-11-20 10:41:03 +00:00
#include "mach.h"
#include "back.h"
#ifdef BYTES_REVERSED
#define con2(w) { *data++ = ((w) >> 8); *data++ = (w);}
#else
#define con2(w) { *data++ = (w); *data++ = ((w)>>8);}
#endif
1987-11-20 10:41:03 +00:00
con4( l)
FOUR_BYTES l;
{
1988-11-18 17:52:39 +00:00
if ((data_cnt -= 4) < 0) mem_data();
1987-11-20 10:41:03 +00:00
#ifdef WORDS_REVERSED
con2( (int)(l>>16));
con2( (int) l);
1987-11-20 10:41:03 +00:00
#else
con2( (int) l);
con2( (int) (l>>16));
1987-11-20 10:41:03 +00:00
#endif
}