Hello, I am trying to scan the ain for peak voltage before sending midi information and I am having trouble understanding these macros and instructions.Any help is appreciated
andlw…I don’t understand and
xorlw…I don’t understand exclusive or
IFNEQ does this mean not equal
IFLEQ does this mean (less than equal) or (less than or equal to)
IFGEQ does this mean (greater than equal) or (greater than or equal to)
I appologize for the newbie questions, but I guess there is only one way to learn, Thanks in advance for any help.
If you are working with the 18F just print out page 217-252 of the datasheet. These are the instructions. Also print out TK’s macros.h file. Then do like Driftz says and run the examples from the on paper with binary numbers. Then run some examples going through TK’s macros. This should help you learn what they do.