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

24 lines
367 B
C

#include "mach.h"
#include "back.h"
#ifdef BYTES_REVERSED
#define rom2(w) { *data++ = ((w) >> 8); *data++ = (w);}
#else
#define rom2(w) { *data++ = (w); *data++ = ((w)>>8);}
#endif
rom4( l)
FOUR_BYTES l;
{
if ((_data_cnt -= 4) < 0) mem_data();
#ifdef WORDS_REVERSED
rom2( (int)(l>>16));
rom2( (int) l);
#else
rom2( (int) l);
rom2( (int) (l>>16));
#endif
}