View Single Post
Old 01 April 2018, 13:18   #7
borchen
Registered User
 
Join Date: Jan 2016
Location: NL
Posts: 32
Small last minute change to the stop-startup code!

Code:
...
Start:
	movem.l	d1-a6,-(sp)		; save CPU registers
	move.l	4.w,a6			; a6 = execbase
...
In the End: code
Code:
...
	movem.l	(sp)+,d1-a6		; restore CPU registers
	moveq	#0,d0			; nice clean
	rts				; exit
...
Now you have to figure out what this movem.l and (sp) stuff is...
borchen is offline  
 
Page generated in 0.05506 seconds with 11 queries