L D[AR2P#0.0]
Lifetime Supporting Member
That is extremely helpful. I can see that my pointer is now 3.1 instead of 4. I realize that I need to increment the original offset instead of the current.
I prefer to use the Address register AR1 for this type of access - you can specify an offset so there is no need for any programmatic arithmetic:
e.g.
Code:
L #Pnt_QB3 //Load command byte
SLD 3
TAR1 //tranfer to output byte
L #CmdByte
T QB [AR1,P#0.0] //e.g if AR1=3.0
T QB [AR1,P#1.0] //then this will access QB4