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

22 lines
371 B
C
Raw Normal View History

1988-05-27 17:07:58 +00:00
#include "mach.h"
#include "back.h"
#ifdef BYTES_REVERSED
#define text2(w) { *text++ = ((w) >> 8); *text++ = (w);}
#else
#define text2(w) { *text++ = (w); *text++ = ((w)>>8);}
#endif
1988-05-27 17:07:58 +00:00
text4( l)
FOUR_BYTES l;
{
if ((_text_cnt -= 4) < 0) mem_text();
1988-05-27 17:07:58 +00:00
#ifdef WORDS_REVERSED
text2( (int) (l>>16));
text2( (int) l);
1988-05-27 17:07:58 +00:00
#else
text2( (int) l);
text2( (int) (l>>16));
1988-05-27 17:07:58 +00:00
#endif
}