Added BRK,WRITE and EXIT entry points
This commit is contained in:
		
							parent
							
								
									0350c1898b
								
							
						
					
					
						commit
						9aceb849ad
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -1,5 +1,5 @@ | ||||||
| .define .lino,.filn | .define .lino,.filn | ||||||
| .define EXIT
 | .define EXIT,WRITE,BRK | ||||||
| .define	begtext,begdata,begbss | .define	begtext,begdata,begbss | ||||||
| .define	EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO | .define	EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO | ||||||
| .define	hol0,.reghp,.limhp,.trpim,.trppc | .define	hol0,.reghp,.limhp,.trpim,.trppc | ||||||
|  | @ -44,6 +44,10 @@ EXIT: | ||||||
| 	jsr	__exit | 	jsr	__exit | ||||||
| L0:	bra	L0 | L0:	bra	L0 | ||||||
| 
 | 
 | ||||||
|  | BRK:	jmp	__brk | ||||||
|  | 
 | ||||||
|  | WRITE:	jmp	__write | ||||||
|  | 
 | ||||||
| 	.sect .data | 	.sect .data | ||||||
| begdata: | begdata: | ||||||
| hol0: | hol0: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue