PICBASIC PRO Compiler (Gold Edition) (SW500041)The Legendary BASIC Compiler for PIC® Microcontrollers
PICBASIC Pro™ (PBP) is a world class BASIC compiler for rapid development of Microchip PIC microcontroller based projects. It is lightning fast and generates optimized, machine-ready code. It is intended to be a professional development tool, though its painless syntax also makes it a favorite among hobbyists and institutions of learning. PBP Gold Edition supports more than 500 MCUs in the following device families: PIC10, PIC12, PIC16, PIC18 MCUs.
PBP generates Assembly language that consists of hand-tuned macros and library routines. This laborious approach in development makes for extreme efficiency in handling operations with a variety of variable types. Each math and comparison operation is generated according to the specific variable types that are used as inputs and output. High-level commands are included as library routines that are reused to minimize code space consumption, and these routines are tuned based on the device's memory characteristics and selected oscillator frequency.
The code that PBP generates is efficient and optimized. Execution speed rivals that of any C compiler (for PIC® MCUs) on the market. You don't have to compromise product performance in order to save time in development. You can have both.
PBP does not use a software stack. This speeds execution of subroutine calls and limits PBP programming to a single, global namespace. All variables are globally accessible and care should be taken not to 'step on' critical values in subroutines and interrupt handlers. PBP uses the hardware stack for GOSUB and interrupts. The depth of the stack imposes limits on nested subroutines.
Unless specifically noted, PBP commands don't consume internal resources like timer modules. Our timed pauses are software-based and none of our loop structures touch the hardware stack. The peripheral modules are free for the developer to use when needed.
Each supported device is mapped thoroughly in the PBP device files. PBP handles all RAM-bank and code-page switching, inserting code only when needed for the target device. All internal registers are known to PBP by name. This allows Direct Register Access with BASIC statements like "T1CON = 0", without the requirement of pre-defining the location of the register.
- PBP includes a purpose-built IDE called MicroCode Studio, but many prefer to work in the well-known MPLAB IDE from Microchip. We include a language tool plugin for MPLAB IDE to allow seamless development using Microchip's development tools. Debugging in this environment can be switched from Source to Assembly level for full access to the generated code.
- Familiar BASIC syntax
- IF (condition) THEN / ELSE / ELSEIF /ENDIF
- SELECT CASE
- FOR… NEXT
- DO WHILE/UNTIL
- Direct Register Access
- All Special Function Registers are pre-mapped by PBP and accessible by name
- Built-In Commands for operations common to embedded development
- Accurate Delays in uS and mS resolutions
- Analog to Digital Conversion
- Asynchronous Serial Communications (RS-232, RS-485, etc)
- Synchronous Serial including I2C and SPI
- Character LCD
- Parsing and Formatting of ASCII Strings
- Sinusoidal Frequency Generation and DTMF (requires hardware filtering)
- Pulse-Width Measurement
- Low-Power Mode
- Conditional Compilation with Command-Line Constants
- In-Line Assembly Language
- Easy Device Configuration
- Configuration settings listed for each supported device
- New #CONFIG directive eliminates the need to edit header files
- Interrupts in BASIC or Assembly Language
- Newly revised and expanded, 300+ page reference manual
- MPLAB v8, MPLAB X IDE compatible
- Technical Support via Telephone, Email, and Community Forum