PeterW
Member
L D [AR2,P#0.0], did you use LAR2 P#DIX 0.0 just to set the upper area bits? Isn't there way around having to do this by forcing the L D [AR2,#P0.0] instruction to use the DI register by saying L DIW [AR2,#P0.0]? Or must the area bits always be set?
I think you'll find he's pointing to the first word in the Instance DB prior to adding the pointer as below
Code:
[FONT=monospace]
L #i_Offset_write;
SLD 4;
+AR2 ;[/FONT]
this is the best way to do this.