Initial revision
This commit is contained in:
17
util/ceg/ce_back/as_back/gen2.c
Normal file
17
util/ceg/ce_back/as_back/gen2.c
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "header.h"
|
||||
|
||||
gen2( w)
|
||||
arith w;
|
||||
{
|
||||
switch ( cur_seg) {
|
||||
case SEGTXT : fprint( codefile, WORD_FMT, (arith) w);
|
||||
break;
|
||||
case SEGCON : fprint( codefile, WORD_FMT, (arith) w);
|
||||
break;
|
||||
case SEGROM : fprint( codefile, WORD_FMT, (arith) w);
|
||||
break;
|
||||
case SEGBSS : bss( 2);
|
||||
break;
|
||||
default : fprint( STDERR, "gen2 unkown seg %d\n", cur_seg);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user