View Single Post
Old 05 June 2021, 18:46   #202
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,430
Well, there's two minor issues there. The first is that movem.l a0-a2,(a4)+ doesn't actually exist, so you'd need to use movem.l a0-a2,(a4) and then update the value of A4 by hand. The second is that you're indeed correct - movem is only faster if you use a certain number of registers. I'm not sure of the top of my head how many, but it's either three or four IIRC (and that's not counting the cost of the updating A4 in this case).

Edit: didn't see meynaf's post when I started writing this, sorry for the double info.
roondar is offline  
 
Page generated in 0.04328 seconds with 11 queries