* * *

Author Topic: PicPas, Pascal compiler for Microchip PIC  (Read 14276 times)

Edson

  • Hero Member
  • *****
  • Posts: 773
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #105 on: August 25, 2017, 09:43:07 pm »
Picpas has been updated to the 0.7.5 version:  https://github.com/t-edson/PicPas

Support for 32 bits numbers, implemented.

Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Edson

  • Hero Member
  • *****
  • Posts: 773
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #106 on: August 27, 2017, 08:28:46 pm »
Recently, I have tested the size of code generated by  several PIC compilers, in comparison with PicPas. The same sample program (a simple light control: https://github.com/t-edson/PicPas/tree/0.7.5/Comparacion%20PicPas-MikroC-CCS) was compiled in these programs:

The result was:

MikroC
======
RAM: 18 bytes   FLASH: 126 words

CCS
=====
RAM: 7 bytes   FLASH: 135 words

JAL
========
RAM: 9 bytes  FLASH: 117 words

Pic Micro Pacal
===============
RAM: 4 bytes FLASH: 104 words   

PicPas
======
RAM: 2 bytes   FLASH: 64 words

And the winner is: PicPas :D
« Last Edit: August 27, 2017, 11:19:00 pm by Edson »
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Edson

  • Hero Member
  • *****
  • Posts: 773
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #107 on: September 18, 2017, 10:57:45 pm »
Picpas 0.7.7, the unique open-source Pascal compiler for mid range PIC, has been released:  https://github.com/t-edson/PicPas

In this version, support for defining new devices using directives.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus