gpsim is a full-featured software simulator for Microchip PIC microcontrollers distributed under the GNU General Public License.