^ is for a bitwise EXCLUSIVE OR
& is for a bitwise AND
chip... if you haven't already guessed, this is a forum for MeLabs PICBasic compilers... the answers to most of your Assembler questions will be found in the HELP files located in Microchips MPLab IDE. Go download it from the Microchip website - it's FREE.
The answers to your questions above are found in detail in the MPLab Help file section "Expression Syntax and Operation" subsection "Arithmetic Operators and Precedence".
Bookmarks