Menu

gputils / News: Recent posts

gputils 1.5.0 released

The gputils-1.4.0 has been released. The source code package is available at gputils-1.5.0.tar.bz2 and gputils-1.5.0.tar.gz. Windows 32bit setup package is at gputils-1.5.0.exe.... read more

Posted by Molnár Károly 2016-08-21

The major changes since the stable release (1.4.2)

New predefined constants (these exist only in the “gpasm” mode {if the command line is not included the "--mpasm-compatible" option}):

Name Explanation
__CONFIG_START Start address of the CONFIG area. (e.g. 0x0FFF, 0x2007, 0x8007, 0x300000)
__CONFIG_END End address of the CONFIG area. (e.g. 0x0FFF, 0x2007, 0x800A, 0x30000D)
__IDLOCS_START Start address of the IDLOCS area. (e.g. 0x0440, 0x2000, 0x8000, 0x200000)
__IDLOCS_END End address of the IDLOCS area. (e.g. 0x0443, 0x2003, 0x8003, 0x200007)
__BANK_BITS These bits select the active RAM Bank. (e.g. 0x20, 0x180, 0xF00)
__BANK_MASK These bits give the address of a register within a RAM Bank. (e.g. 0x1F, 0x7F, 0xFF)
__BANK_SIZE This is a RAM Bank size. (e.g. 32 {0x20}, 128 {0x80}, 256 {0x100})
__BANK_INV This the invalid RAM Bank value (-1).
__NUM_BANKS Number of RAM Banks.
__BANK_0 Address of first RAM Bank (0x000). This definitely exists.
__BANK_n Address of last RAM Bank, if more than one exists. (n = __NUM_BANKS - 1)
__BANK_FIRST Address of first RAM Bank (0x000). This definitely exists.
__BANK_LAST Address of last RAM Bank. This definitely exists. (This in some cases identical with the first.)
__PAGE_BITS These bits select the active ROM Page. (e.g. 0x600, 0x1800, 0x7800, etc)
__PAGE_MASK These bits give the address of an instruction within a ROM Page. (e.g. 0x1FF, 0x7FF)
__PAGE_SIZE This is a ROM Page size. (e.g. 512 {0x200}, 2048 {0x800})
__PAGE_INV This the invalid ROM Page value (-1).
__NUM_PAGES Number of ROM Pages.
__PAGE_0 Address of first ROM Page (0x0000). This definitely exists.
__PAGE_n Address of last ROM Page, if more than one exists. (n = __NUM_PAGES - 1)
__PAGE_FIRST Address of first ROM Page (0x0000). This definitely exists.
__PAGE_LAST Address of last ROM Page. This definitely exists. (This in some cases identical with the first.)
__12_BIT The size of the instruction set of processor. e.g. p10f222
__14_BIT The size of the instruction set of processor. e.g. p16f887
__16_BIT The size of the instruction set of processor. e.g. p18f2523
__GPUTILS_SVN_VERSION The svn version number of gputils. e.g. 1181
__GPUTILS_VERSION_MAJOR The major version number of gputils. e.g. 1
__GPUTILS_VERSION_MINOR The minor version numbers of gputils. e.g. 4
__GPUTILS_VERSION_MICRO The micro (patch) version numbers of gputils. e.g. 2
__ENHANCED The sign of advanced processor types. e.g. p12f1501, p16f527, p16f1519
__EXTENDED The sign of advanced processor types. (all PIC18XXX)... read more
Posted by Molnár Károly 2016-02-20

The major changes since the stable release (1.4.0)

New predefined constant (these exist only in the “gpasm” mode {if the command line is not included the "--mpasm-compatible" option}):

Start address of the Lower Access RAM area:
Name Explanation
__ACC_RAM_LOW_START 0x00 (Only in the Extended 16 bit core: pic18xxx)

New option in gpasm: -S [0|1|2], --strict [0|1|2]
Set the strict level of the recommended instruction-parameters (W or F and A or B). The "strict messages" have higher priority than the warnings. (See: -w [0|1|2]) [0]... read more

Posted by Molnár Károly 2014-10-26

gputils 1.4.0 released

The gputils-1.4.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/1.4.0/gputils-1.4.0-1.tar.gz. Windows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/1.4.0/gputils-1.4.0.exe.

gputils 1.4.0 includes the following enhancements:

  • Extended error and warning messages.
  • Enabled the CONFIG directive on the 12-bit and 14-bit devices.
  • Enabled the IDLOCS directive on the pic18fxxx devices.
  • The gpasm lists the properties of the processors.
  • New predefined constants in the gpasm: __EEPROM_START, etc.
  • The gpdasm shows the names of SFRs and bits, in addition shows the labels in code.
  • The inc and lkr files are synced with MPLABX 2.20... read more
Posted by Molnár Károly 2014-10-12

The major changes since the stable release

Extended error and warning messages.


The gpdasm does recognize the PIC12E instructions.


The gpdasm does not disassemble the section of config bits. Instead it displays these bytes.


New option in gpdasm: -n, --show-names
For some case of SFR, shows the name of instead of the address.


New option in gpasm: -k, --error
Enables creation of the error (.err) file.
Enabled the CONFIG directive on the PIC12(E) and PIC14(E) devices. This only works in "gpasm" mode -- if the command line is not included the "--mpasm-compatible" option.


Enabled the IDLOCS directive on the PIC16E devices. This only works in "gpasm" mode -- if the command line is not included the "--mpasm-compatible" option.


The gpdasm now shows the labels.


The gpdasm now shows names the SFRs and bits.


A new option of the gpdasm: --show-config
As a result of this option shows the CONFIG directives.


The modified "--show-config" option now show CONFIG and IDLOCS - or __idlocs - directives also.


A new option of the gpasm: --full-address
Show full address in .lst file at the memory map region.


A new option of the gpasm: -j, --sdcc-dev16-list
This help to the extension of the pic16devices.txt file in the sdcc project. Using by itself, displays the all '16e' devices. Along with the '-p' option, shows only the specified device.


A new option of the gpasm: -s[12[ce]|14[ce]|16[ce]], --list-processor-properties[=([12[ce]|14[ce]|16[ce]])]
Lists properties of the processors. Using by itself, displays the all devices or group of the devices. Along with the '-p' option, shows only the specified device.


New predefined constants: __EEPROM_START and __EEPROM_END
They facilitate the placement of data in the EEPROM area, if the command line is not included the "--mpasm-compatible" option.


New predefined constants (these exist only in the “gpasm” mode {if the command line is not included the "--mpasm-compatible" option}):

End address of the Lower Access RAM area:... read more
Posted by Molnár Károly 2014-06-20

gputils 1.3.0 released

gputils-1.3.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/1.3.0/gputils-1.3.0.tar.gz. Windows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/1.3.0/gputils-1.3.0.exe.

gputils 1.3.0 includes the following enhancements:

  • Expanding the listing option of processors.
  • Added the missing CONFIG2 DEBUG file definition in some pic12f inc files.
  • The gputils can be compiled with newer versions of bison and flex.
  • French translation of gputils/man/fr/gpasm.1.in.
  • inc and lkr files are synced with MPLABX 2.10... read more
Posted by Molnár Károly 2014-05-17

Borut Ražem passed away

Defeating the disease after two years. He invitee hither that I help this development. He now definitively have finished the development.

Molnár Károly

Posted by Molnár Károly 2014-01-22

gputils 1.2.0 released

gputils-1.2.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/1.2.0/gputils-1.2.0.tar.gz. Windows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/1.2.0/gputils-1.2.0.exe.

gputils 1.2.0 includes the following enhancements:

  • #61 - "__idlocs and __config generate line numbers" and
  • #58 Generate mpasm compatible .config sections
  • strengthened bad object format detection
  • inc and lkr files are synced with MPLABX 1.80... read more
Posted by Borut Ražem 2013-05-19

gputils 1.1.0 released

gputils-1.1.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/1.1.0/gputils-1.1.0.tar.gz.
Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/1.1.0/gputils-1.1.0.exe.

gputils 1.1.0 includes following enhancements:

  • added -P (--preprocess) command line option to emit preprocessed asm file
  • added support for undocumented HALT, TRAP and TRET opcodes
  • inc and lkr files are synced with MPLABX 1.70
  • fixed support for 12 bit extended instruction set, devices PIC12F529T48A, PIC12F529T39A, 16F527 and PIC16F570... read more
Posted by Borut Ražem 2013-03-29