![Maxim Integrated MAX31782 User Manual Download Page 212](http://html1.mh-extra.com/html/maxim-integrated/max31782/max31782_user-manual_1744481212.webp)
MaximIntegrated 20-29
MAX31782 User’s Guide
Revision 0; 8/11
XCH
ExchangeAccumulatorBytes
Description:
Exchanges the upper and lower bytes of the active accumulator .
StatusFlags:
S
Operation:
Acc .[15:8]
←
Acc .[7:0]
Acc .[7:0]
←
Acc .[15:8]
Encoding:
15
0
1000
1010
1000
1010
Example(s):
; Acc = 2345h
XCHN
; Acc = 4523h
XCHN
ExchangeAccumulatorNibbles
Description:
Exchanges the upper and lower nibbles in the active accumulator byte(s) .
StatusFlags:
S
Operation:
Acc .[7:4]
←
Acc .[3:0]
Acc .[3:0]
←
Acc .[7:4]
Acc .[15:12]
←
Acc .[11:8]
Acc .[11:8]
←
Acc .[15:12]
Encoding:
15
0
1000
1010
0111
1010
Example(s):
; Acc = 2345h
XCHN
; Acc = 3254h