19 lines
393 B
C
19 lines
393 B
C
#include "header.h"
|
|
#include <em.h>
|
|
|
|
gen4( w)
|
|
FOUR_BYTES w;
|
|
{
|
|
switch ( cur_seg) {
|
|
case SEGTXT : fprint( codefile, LONG_FMT, (long) w);
|
|
break;
|
|
case SEGCON : fprint( codefile, LONG_FMT, (long) w);
|
|
break;
|
|
case SEGROM : fprint( codefile, LONG_FMT, (long) w);
|
|
break;
|
|
case SEGBSS : bss( (arith) 4);
|
|
break;
|
|
default : fprint( STDERR, "gen4 unkown seg %d\n", cur_seg);
|
|
}
|
|
}
|