ack/util/ceg/ce_back/as_back/gen4.c

19 lines
393 B
C
Raw Normal View History

1987-11-20 10:41:03 +00:00
#include "header.h"
1989-01-26 10:52:51 +00:00
#include <em.h>
1987-11-20 10:41:03 +00:00
gen4( w)
1989-01-20 15:01:37 +00:00
FOUR_BYTES w;
1987-11-20 10:41:03 +00:00
{
switch ( cur_seg) {
1989-01-20 15:01:37 +00:00
case SEGTXT : fprint( codefile, LONG_FMT, (long) w);
1987-11-20 10:41:03 +00:00
break;
1989-01-20 15:01:37 +00:00
case SEGCON : fprint( codefile, LONG_FMT, (long) w);
1987-11-20 10:41:03 +00:00
break;
1989-01-20 15:01:37 +00:00
case SEGROM : fprint( codefile, LONG_FMT, (long) w);
1987-11-20 10:41:03 +00:00
break;
1989-01-20 14:54:55 +00:00
case SEGBSS : bss( (arith) 4);
1987-11-20 10:41:03 +00:00
break;
default : fprint( STDERR, "gen4 unkown seg %d\n", cur_seg);
}
}