ack/util/ceg/ce_back/obj_back/symboldef.c
1987-11-20 10:41:03 +00:00

19 lines
385 B
C

#include <out.h>
#include <system.h>
#include "data.h"
#include "back.h"
#include "header.h"
symbol_definition(sym)
char *sym;
{
int i;
i = find_sym( sym, SYMBOL_DEFINITION);
(symbol_table + i)->on_valu = cur_value();
(symbol_table + i)->on_type |= (S_MIN + conv_seg( cur_seg));
/* print( "s %s in %d seg %d addr %ld\n", sym , i, conv_seg( cur_seg),
cur_value()); */
}