Page 48 - Making PIC Microcontroller Instruments and Controllers
P. 48
tHE P|CBAS|C PRO COflPllEn NSlRUCtlOll SET l7
MATH OPERATIONS
All math operations are unsigned and performed with 16-bit precision:
Addition
Subtraction
Multiplication
MSB of multiplication
Division
Remainder
MIN Minimum
MAX Maximum
& BitwiseAND
Bitwise OR
Bitwise XOR
u Bitwise ANID NOT
Bitwise OR NOT
Bitwise XOR NOT
The PICBASIC Compiler
PRO
Instruction Set
This is the larger compile. of the twol
@ Inset one line of assembly language code.
ADCIN Read on chip analog to digital conveter.
ASM..ENDASM Insert assembly language code section.
BRANCH Computed GOTO (equivalent to ON.-GOTO).
BRANCHL Branch out of page (long BRANCH).
BUTTON De-bounce and auto-repeat irput on specified pin.
CALL Call assembly language subroutine.
CLEAR Zerc all variables.