*** empty log message ***

This commit is contained in:
kaashoek 1987-11-25 14:03:48 +00:00
parent 5865536463
commit 1240849cda
3 changed files with 19 additions and 3 deletions

View file

@ -1,20 +1,34 @@
/* This file must be included in all the files which use the backlibrary.
*/
extern char *extnd_name(), *extnd_dnam(), *extnd_dlb(), *extnd_ilb(), extern char *extnd_name(), *extnd_dnam(), *extnd_dlb(), *extnd_ilb(),
*extnd_hol(), *extnd_ext(), *extnd_pro(), *extnd_start(); *extnd_hol(), *extnd_ext(), *extnd_pro(), *extnd_start();
extern holno, procno; extern holno, procno;
#include "data.h" #include "data.h"
/* These routines are called very often, thus we turned them into macros. */
#define text1(b) {if (text-text_area>=size_text) mem_text() ; *text++=b;} #define text1(b) {if (text-text_area>=size_text) mem_text() ; *text++=b;}
#define con1(b) {if (data-data_area>=size_data) mem_data(); *data++ = b;} #define con1(b) {if (data-data_area>=size_data) mem_data(); *data++ = b;}
#define rom1(b) {if (data-data_area>=size_data) mem_data(); *data++=b;} #define rom1(b) {if (data-data_area>=size_data) mem_data(); *data++=b;}
#define bss( n) ( nbss += n) #define bss( n) ( nbss += n)
/* Numbering of the segments and some global constants */
#define SEGTXT 0 #define SEGTXT 0
#define SEGROM 1 #define SEGROM 1
#define SEGCON 2 #define SEGCON 2
#define SEGBSS 3 #define SEGBSS 3
#define swtxt() switchseg( SEGTXT) #define swtxt() sitchseg( SEGTXT)
#define PC_REL 1
#define ABSOLUTE !PC_REL
/* Initialize values. */
#define MAXTEXT 20 #define MAXTEXT 20
#define MAXDATA 20 #define MAXDATA 20
@ -23,5 +37,3 @@ extern holno, procno;
#define MAXSTRING 20 #define MAXSTRING 20
#define MAXHASH 256 #define MAXHASH 256
#define PC_REL 1
#define ABSOLUTE !PC_REL

View file

@ -1,3 +1,5 @@
/* The global datastructures (see "data.c"). */
extern long cur_value(); extern long cur_value();
extern int cur_seg; extern int cur_seg;

View file

@ -1,3 +1,5 @@
/* Constants and a macro that are global to the back library. */
#define SYMBOL_DEFINITION 1 #define SYMBOL_DEFINITION 1
#define REFERENCE 2 #define REFERENCE 2
#define STORE_STRING 3 #define STORE_STRING 3