Don't use reghp
This commit is contained in:
		
							parent
							
								
									e07da4cad3
								
							
						
					
					
						commit
						18e5f78f21
					
				
					 1 changed files with 8 additions and 4 deletions
				
			
		|  | @ -10,7 +10,7 @@ | |||
| _sbrk:		tst.b	-8(sp) | ||||
| 			move.l	4(sp),d0 | ||||
| 			beq	1f | ||||
| 			add.l	.reghp,d0 | ||||
| 			add.l	nd,d0 | ||||
| 			move.l	d0,-(sp) | ||||
| 			clr.l	-(sp) | ||||
| 			trap #0 | ||||
|  | @ -19,15 +19,19 @@ _sbrk:		tst.b	-8(sp) | |||
| 			bcc	1f | ||||
| 			jmp	cerror | ||||
| 1: | ||||
| 			move.l	.reghp,d0 | ||||
| 			move.l	nd,d0 | ||||
| 			move.l	4(sp),d1 | ||||
| 			add.l	d1,.reghp | ||||
| 			add.l	d1,nd | ||||
| 			rts | ||||
| _brk:			trap #0 | ||||
| .data2	0x11
 | ||||
| 			bcc	1f | ||||
| 			jmp	cerror | ||||
| 1: | ||||
| 			move.l	4(sp),.reghp | ||||
| 			move.l	4(sp),nd | ||||
| 			clr.l	d0 | ||||
| 			rts | ||||
| .sect .data | ||||
| nd: | ||||
| 	.data4 endbss
 | ||||
| .sect .text | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue