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

21 lines
370 B
C
Raw Normal View History

1988-10-20 13:06:10 +00:00
#include <system.h>
1987-11-20 10:41:03 +00:00
#include "mach.h"
1988-10-20 13:06:10 +00:00
#include "back.h"
gen4( c)
FOUR_BYTES c;
1987-11-20 10:41:03 +00:00
{
1988-10-20 13:06:10 +00:00
switch ( cur_seg) {
case SEGTXT : text4( c);
return;
case SEGCON : con4( c);
return;
case SEGROM : rom4( c);
return;
case SEGBSS : bss( 4);
return;
default : fprint( STDERR, "gen4() : bad seg number\n");
return;
}
1987-11-20 10:41:03 +00:00
}