1987-11-20 10:41:03 +00:00
|
|
|
#include "header.h"
|
|
|
|
|
|
|
|
gen4( w)
|
1989-01-20 15:01:37 +00:00
|
|
|
FOUR_BYTES w;
|
1987-11-20 10:41:03 +00:00
|
|
|
{
|
|
|
|
switch ( cur_seg) {
|
1989-01-20 15:01:37 +00:00
|
|
|
case SEGTXT : fprint( codefile, LONG_FMT, (long) w);
|
1987-11-20 10:41:03 +00:00
|
|
|
break;
|
1989-01-20 15:01:37 +00:00
|
|
|
case SEGCON : fprint( codefile, LONG_FMT, (long) w);
|
1987-11-20 10:41:03 +00:00
|
|
|
break;
|
1989-01-20 15:01:37 +00:00
|
|
|
case SEGROM : fprint( codefile, LONG_FMT, (long) w);
|
1987-11-20 10:41:03 +00:00
|
|
|
break;
|
1989-01-20 14:54:55 +00:00
|
|
|
case SEGBSS : bss( (arith) 4);
|
1987-11-20 10:41:03 +00:00
|
|
|
break;
|
|
|
|
default : fprint( STDERR, "gen4 unkown seg %d\n", cur_seg);
|
|
|
|
}
|
|
|
|
}
|