Back to Index

File Loading

MicroSim is able to load PIC programs from standard Intel HEX files assembled with a MicroChip compatible PIC assembler such as 'gpasm'. Symbolic COD files can also be loaded into the simulator. These symbolic COD files are also generated when assembling the PIC program with 'gpasm'. File loading in MicroSim does not require knowledge of command line options because it is all done via the intuitive user interface.

Using the gpasm PIC assembler

The gpasm PIC assembler can be downloaded from SourceForge for users to install and use in their PIC program development. Install the gpasm package on your system by following the installation instructions that come with the package.

Loading a file

  1. Click Open under the File menu or click on the open icon in the toolbar
  2. A file open dialog will be displayed. You can limit the the types of files listed via the File type drop down box.
  3. Select the file you want to load and click on the Open button.
  4. A dialog box appears asking you what kind of parallel port configuration you wish to have for this program. If you do not plan to use the feature of MicroSim that allows interfacing with external hardware through the parallel port, then select "Disable Parallel Port" and click OK. If you wish to use this feature, please see the hardware mapper help file
  5. The source files are finally displayed in the Source Browser.


File Open Dialog


Parallel Port Configuration Dialog


Source files loaded into Source Browser