Maxim Integrated MAXQ622 User Manual
Page 252

Maxim Integrated
A1-7
MAXQ612/MAXQ622 User’s Guide
; pointer as the active source.
move ACC, @DP[1] ; *WRONG* DP[1] is *NOT* properly configured properly
move ACC, @DP[0] ; DP[0] is now properly configured properly to read
END
All of the single pointer examples can be extended to multiple pointer
versions. It is assumed that those operations can be extrapolated from
the given examples.
Conclusions:
- pointer mode and pointer selection/activation need to be preformed in
separate instructions.
- pointer mode has to be set before writing an address to a pointer
register.
- pointer activation can be performed by direct writes to the DPC.SDPS
bits, by writing an address to a pointer register, by recirculating the
contents of a pointer register or by using auto-inc (++) or auto-dec
(--) pointer operations.
- If a pointer is used (in the context of the global application, not
the local assembler module) in both byte and word modes, then all 17-bits
of a pointer should be saved and restored.