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

16 lines
198 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;
{
1989-01-26 13:32:57 +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
}