gobou_5b’s blog

作業などの記録です

XC8 v1.35

XC8の仕様について調べていたところ、v1.35がリリースされていることに気がつきました。

日本語ページhttps://www.microchip.com/pagehandler/ja-jp/devtools/mplabxc/

ではまだ公開されていませんが、

英語ページhttps://www.microchip.com/pagehandler/en-us/devtools/mplabxc/

からダウンロードできます。

 

新しい浮動小数点演算ライブラリや、PIC18周辺ライブラリについて変更があったようです。

早速同じソースをコンパイルしてコードサイズを比較してみました。

v1.33

Microchip MPLAB XC8 C Compiler (Free Mode) V1.33
Part Support Version: 1.33 (A)
Copyright (C) 2014 Microchip Technology Inc.
License type: Node Configuration

:: warning: (1273) Omniscient Code Generation not available in Free mode

Memory Summary:
Program space used 7C93h ( 31891) of 8000h bytes ( 97.3%)
Data space used 58Fh ( 1423) of E41h bytes ( 39.0%)
Configuration bits used 7h ( 7) of 7h words (100.0%)
EEPROM space used 0h ( 0) of 400h bytes ( 0.0%)
ID Location space used 8h ( 8) of 8h bytes (100.0%)
Data stack space used 0h ( 0) of 441h bytes ( 0.0%)

 

v1.35

Microchip MPLAB XC8 C Compiler (Free Mode) V1.35
Build date: Jul 7 2015
Part Support Version: 1.35
Copyright (C) 2015 Microchip Technology Inc.
License type: Node Configuration

:: warning: (1459) peripheral library support is missing for the 18F25K80
:: warning: (1273) Omniscient Code Generation not available in Free mode

Memory Summary:
Program space used 759Bh ( 30107) of 8000h bytes ( 91.9%)
Data space used 595h ( 1429) of E41h bytes ( 39.2%)
Configuration bits used 7h ( 7) of 7h words (100.0%)
EEPROM space used 0h ( 0) of 400h bytes ( 0.0%)
ID Location space used 8h ( 8) of 8h bytes (100.0%)
Data stack space used 0h ( 0) of 878h bytes ( 0.0%)

 プログラムサイズがかなり削減できています。