Pbp file extension
This is done to convert the assembler output of PBP to an executable image. Normally, when PBP successfully compiles a program, it automatically launches the assembler. If the program requires a different processor as its target, its name must be specified on the command line use the -P option.įor example, if the desired target processor for the PBP program is a PIC16C74, the command line should look something like the following: If not told otherwise, PBP compiles programs for the PIC16F84.
#PBP FILE EXTENSION MANUAL#
The PICmicro Macro Assembler's manual on disk contains more information on the assembler and its options. More than one -O option may be passed to the assembler at a time. This example tells PBP to generate a filename.lst file after a successful compilation. Some pertinent PM options are listed in the following table: The -O option causes the letters following it to be passed to the assembler on its command line as options. This example tells PBP to compile filename using the PicStic2 library. PICBASIC PRO™ libraries, see the advanced sections later in this manual. This option is generally unnecessary as the default library file is set in a configuration file for each microcontroller. The -L option lets you select the library used by This help screen is also displayed if no option and filename is specified on the command line. The -H or -? option causes PBP to display a brief help screen. The -E option causes PBP to send all the errors to a file, fliename.er. PICBASIC PRO™ instruction followed by the assembly language instructions it generates. This can be useful as a debugging tool or learning tool as it shows the PICBASIC PRO™ source file lines as comments into the assembly language source file. See the section on assembly language programming for more information. If no assembler is specified on the command line, PM is used. To specify MPASM (which must be acquired from Microchip), use -ampasm on the command line: PBP has the capability to use either PM, which is included with PBP, or Microchip = s MPASM as its assembler. Insert source lines as Comments into assembler file If PBP is invoked with no parameters or filename, a brief help screen is displayed. If the compilation has errors or the -S option is used, the assembler is not launched. PBP expects to find PM.EXE in the same directory as PBP.EXE. Regardless of where the source file is found, files generated by PBP are placed in the current directory.īy default, PBP automatically launches the assembler ( PM.EXE ) if the compilation is performed without error. If a path is specified, that directory is searched for the named file. If no extension is specified the default extension. The first item not starting with a minus is assumed to be the Filename. Will cause the file BLINK.BAS to be compiled using MPASM as the assembler and targeted for a PIC16C71 processor. Multiple Options may be used at the same time. Each Option must be separated by a space and no spaces may occur within an Option. Additional characters may follow if the Option requires more information. The character following the minus or slash is a letter which selects the Option. Options begin with either a minus ( - ) or a forward slash ( / ). Zero or more Options can be used to modify the manner in which PBP compiles the specified file. The PICBASIC PRO™ Compiler can be invoked from the DOS command line using the following command format: