1 urom_movedp0, 2 urom_movedp0inc, 3 urom_movedp0dec – Maxim Integrated MAX31782 User Manual
Page 218: 1urom�movedp0, 2urom�movedp0inc, 3urom�movedp0dec

MaximIntegrated 21-5
MAX31782 User’s Guide
Revision 0; 8/11
21.3.1UROM�moveDP0
Notes:
• Before calling this function, DPC should be set appropriately to configure DP[0] for byte or word mode .
• The address passed to this function should be based on the data memory mapping for the utility ROM, as shown
in
. When a byte mode address is used, CDA0 must be set appropriately to access either the upper or
lower half of program flash memory .
• This function automatically selects DP[0] as the data pointer before reading the byte/word value .
• Implemented as: move GR, @DP[0]
21.3.2UROM�moveDP0inc
Notes:
• Before calling this function, DPC should be set appropriately to configure DP[0] for byte or word mode .
• The address passed to this function should be based on the data memory mapping for the utility ROM, as shown
in
. When a byte mode address is used, CDA0 must be set appropriately to access either the upper or
lower half of program flash memory .
• This function automatically selects DP[0] as the data pointer before reading the byte/word value .
• Implemented as: move GR, @DP[0]++
21.3.3UROM�moveDP0dec
Notes:
• Before calling this function, DPC should be set appropriately to configure DP[0] for byte or word mode .
• The address passed to this function should be based on the data memory mapping for the utility ROM, as shown
in
. When a byte mode address is used, CDA0 must be set appropriately to access either the upper or
lower half of program flash memory .
• This function automatically selects DP[0] as the data pointer before reading the byte/word value .
• Implemented as: move GR, @DP[0]--
Function
UROM_moveDP0
Summary
Reads the byte/word value pointed to by DP[0] .
Inputs
DP[0]: Address to read from data space (include 8000h offset if reading from flash) .
Outputs
GR: Data byte/word read .
Destroys
None
Function
UROM_moveDP0inc
Summary
Reads the byte/word value pointed to by DP[0], then increments DP[0] .
Inputs
DP[0]: Address to read from data space (include 8000h offset if reading from flash) .
Outputs
GR: Data byte/word read .
DP[0] is incremented .
Destroys
None
Function
UROM_moveDP0dec
Summary
Reads the byte/word value pointed to by DP[0], then decrements DP[0] .
Inputs
DP[0]: Address to read from data space (include 8000h offset if reading from flash) .
Outputs
GR: Data byte/word read .
DP[0] is decremented .
Destroys
None