Quote Originally Posted by rwskinner View Post
This is all greek to me. MPASM is saying I have a "Aurgument out of range - Using LSB". Line 206 of Mac File.

SUB?CBB macro Cin, Bin, Bout
MOVE?BA Bin
sublw Cin <------- Line 206
MOVE?AB Bout
endm
I have not a clue to what any of this is or what is causing the warning error.
18F4530 PBP 2.46 MPASM
Any hints or clues? Never used MPASM before and it's got me all bent out of shape.
Richard
I'm fairly sure it means that you're using a word, and the function wants a byte, so it only uses the low byte.
Figure out which line 'calls' this line in the assembly file and you should have your answer.