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

16 lines
199 B
C
Raw Normal View History

1987-11-20 10:41:03 +00:00
#include "mach.h"
#include "back.h"
rom2( 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
*data++ = w>>8;
1988-10-20 13:06:10 +00:00
*data++ = w;
1987-11-20 10:41:03 +00:00
#else
1988-10-20 13:06:10 +00:00
*data++ = w;
*data++ = w>>8;
1987-11-20 10:41:03 +00:00
#endif
}