ack/util/ceg/ce_back/obj_back/rom2.c
1988-10-20 13:06:10 +00:00

16 lines
233 B
C

#include "mach.h"
#include "back.h"
rom2( w)
TWO_BYTES w;
{
if ((_data_cnt -= 2) < 0) mem_data();
#ifdef BYTES_REVERSED
*data++ = ( unsigned short)w>>8;
*data++ = w;
#else
*data++ = w;
*data++ = ( unsigned short)w>>8;
#endif
}