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

21 lines
369 B
C

#include <system.h>
#include "mach.h"
#include "back.h"
gen2( c)
TWO_BYTES c;
{
switch ( cur_seg) {
case SEGTXT : text2( c);
return;
case SEGCON : con2( c);
return;
case SEGROM : rom2( c);
return;
case SEGBSS : bss( 2);
return;
default : fprint( STDERR, "gen2() : bad seg number\n");
return;
}
}