The A/D result can go into the 16 bit combined register ADRESH and ADRESL.
10 bits of A/D go into 16 bits of result...
Left justify goes into the upper 10 bits, right justify goes into the lower 10 bits.
But if you're using the ADCIN command, and you've defined a byte as the result, the variable used in ADCIN will hold the upper byte of the result from the ADC, which if you have it right justified, won't work too well.
If you've defined a word as the result of the ADCIN, then the 10 bits of the AD result will go into that word, depending on where the justify bit is set.
Bookmarks