ack/util/ceg/ce_back/obj_back/gen1.c
1989-01-26 10:52:51 +00:00

23 lines
393 B
C

#include <system.h>
#include <em.h>
#include "mach.h"
#include "back.h"
gen1( c)
ONE_BYTE c;
{
switch ( cur_seg) {
case SEGTXT : text1( c);
return;
case SEGCON : con1( c);
return;
case SEGROM : rom1( c);
return;
case SEGBSS : bss( (arith) 1);
return;
default : fprint( STDERR, "gen1() : bad seg number\n");
return;
}
}