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

17 lines
234 B
C
Raw Normal View History

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