Thread: 68k details
View Single Post
Old 10 November 2018, 11:21   #738
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by litwr View Post
I can only repeat that you can't make relocatable an instruction with two indices, for example,

Code:
MOV table(A0,D1),D2

Such instruction doesn't exist anyway! And if you need something like that
Code:
move.w table(pc,D1.w),D2


works wonders and is of course fully relocatable.





Quote:

The idea of 100% relocatable code for 68k or PDP-11 is a kind of chimeric one. You can do it on the purpose but generally it is bigger and slower.

That's wrong for 68k at least! In some(!) cases relocatable code can be slower/bigger but in most of the cases it is faster and shorter!
StingRay is offline  
 
Page generated in 0.06439 seconds with 11 queries