declare SEGHOL
This commit is contained in:
		
							parent
							
								
									3a183b7b44
								
							
						
					
					
						commit
						93c04d3389
					
				
					 2 changed files with 19 additions and 1 deletions
				
			
		|  | @ -4,7 +4,8 @@ | |||
| extern File *codefile; | ||||
| 
 | ||||
| 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(), | ||||
| 	    *extnd_part(), *extnd_cont(); | ||||
| 
 | ||||
| extern int holno, procno; | ||||
| 
 | ||||
|  | @ -14,5 +15,6 @@ extern int holno, procno; | |||
| #define 	SEGROM		1 | ||||
| #define 	SEGCON		2 | ||||
| #define 	SEGBSS		3 | ||||
| #define 	SEGHOL		-1	/* Does not exist */ | ||||
| 
 | ||||
| #define 	ABSOLUTE	1 | ||||
|  |  | |||
|  | @ -95,3 +95,19 @@ int hol; | |||
| 	sprint( name, HOL_FMT, hol); | ||||
|         return( name); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| char *extnd_part( d) | ||||
| int d; | ||||
| { | ||||
| 	sprint( name, "part%x", (arith) d); | ||||
| 	return( name); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| char *extnd_cont( d) | ||||
| int d; | ||||
| { | ||||
| 	sprint( name, "cont%x", (arith) d); | ||||
| 	return( name); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue