Page 51 - Making PIC Microcontroller Instruments and Controllers
P. 51

THE COIIIPIIEBS.
            40   THE  SOFIWABE.             AI{D IHE EDITOB

                     REVERSE                   Make  output  pin an input,  or an  input  pin an output

                      SELECT CASE              Compare  a vadable  with different values'
                      SERIN                    Asyncbronous  serial  input  (BS1  style)'
                      SERIN2                   Asynchronous  serial  input (BS2 style)'

                      SEROTIT                  Asynchronous  serial output  (BS  I styl€)'
                      SEROUT2                   Asynchronous  senal  output  (BS2  style)
                      SHIFTIN                   Synchronous  serial  input-

                      SHIFTOUT                  Slarchronous  serial  output
                      SLEEP                     Powel down prccessor for a  period of time'
                      SOUND                     Generate  tone or white noise  on specified  pin'
                                                            executron'
                      STOP                      StoP  Program
                      SWAP                      Exchange  the  values of two variables
                      TOCGLE                    Make pin output and toggle slate'

                      USBIN                     USB  input.
                      USBINIT                   Initialize  USB.
                      USBOUT                    USB output
                      WHILE..WEND               Execute  statements  while condition  is rue'

                      WRITE                     Wrile byte ro on-chip EEPROM'
                      WRITECODE                 Wrile wod  to code memorv'

                      XIN                       X-10 input.
                       XOI-IT                   X-10 output.


                    IIIATH  FUNCTIONS  / OPERATORS
                    The  math operations  are  unsigned  and  performed with 16 bit precisjon:


                       +        Addition
                       -         Subtraction
                       *         MultiPlication
                       **        Top 16  bits oimultiplication

                       +/        Middle 16 bits  of multiplicalion

                       /         Division
   46   47   48   49   50   51   52   53   54   55   56