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
|
|
|
}
|