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

16 lines
234 B
C
Raw Normal View History

1987-11-20 10:41:03 +00:00
#include "mach.h"
#include "back.h"
text2( w)
TWO_BYTES w;
{
1988-10-20 13:06:10 +00:00
if ((_text_cnt -= 2) < 0) mem_text();
1987-11-20 10:41:03 +00:00
#ifdef BYTES_REVERSED
1988-10-20 13:06:10 +00:00
*text++ = ( unsigned short)w>>8;
*text++ = w;
1987-11-20 10:41:03 +00:00
#else
1988-10-20 13:06:10 +00:00
*text++ = w;
*text++ = ( unsigned short)w>>8;
1987-11-20 10:41:03 +00:00
#endif
}