Added common() routine
This commit is contained in:
		
							parent
							
								
									666367e328
								
							
						
					
					
						commit
						a281cc38a4
					
				
					 1 changed files with 16 additions and 1 deletions
				
			
		|  | @ -3,5 +3,20 @@ | ||||||
| bss( n) | bss( n) | ||||||
| arith n; | arith n; | ||||||
| { | { | ||||||
| 	fprint( codefile, BSS_FMT, (arith) n); | 	fprint( codefile, BSS_FMT, (long) n); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | common(n) | ||||||
|  | arith n; | ||||||
|  | { | ||||||
|  | 	extern int saved; | ||||||
|  | 	extern char labeltje[]; | ||||||
|  | 
 | ||||||
|  | 	if (saved) { | ||||||
|  | 		fprint( codefile, COMM_FMT, labeltje, (long) n); | ||||||
|  | 		saved = 0; | ||||||
|  | 		return; | ||||||
|  | 	} | ||||||
|  | 	switchseg(SEGBSS); | ||||||
|  | 	bss(n); | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue