Initial revision

This commit is contained in:
kaashoek
1987-11-20 10:41:03 +00:00
parent bffdad9cdc
commit 9947059dcc
123 changed files with 3451 additions and 0 deletions

View 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);
}
}