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

24 lines
384 B
C
Raw Normal View History

1988-05-27 17:07:58 +00:00
#include "mach.h"
#include "back.h"
1989-01-26 13:32:57 +00:00
#undef text2
#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;
{
1989-01-26 13:32:57 +00:00
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
}