SHOW:
|
|
- or go back to the newest paste.
1 | jarin@plechac:~/storage/main/TMP$ echo "void main (void){while (1);}" > file.c | |
2 | jarin@plechac:~/storage/main/TMP$ /opt/microchip/xc8/v1.33/bin/xc8 --mode=free --chip=16F1825 file.c | |
3 | Microchip MPLAB XC8 C Compiler (Free Mode) V1.33 | |
4 | Part Support Version: 1.33 (A) | |
5 | Copyright (C) 2014 Microchip Technology Inc. | |
6 | License type: Node Configuration | |
7 | ||
8 | (1273) Omniscient Code Generation not available in Free mode (warning) | |
9 | ||
10 | Memory Summary: | |
11 | Program space used 9h ( 9) of 2000h words ( 0.1%) | |
12 | Data space used 2h ( 2) of 400h bytes ( 0.2%) | |
13 | EEPROM space used 0h ( 0) of 100h bytes ( 0.0%) | |
14 | Data stack space used 0h ( 0) of 320h bytes ( 0.0%) | |
15 | Configuration bits used 0h ( 0) of 2h words ( 0.0%) | |
16 | ID Location space used 0h ( 0) of 4h bytes ( 0.0%) | |
17 | ||
18 | ||
19 | Running this compiler in PRO mode, with Omniscient Code Generation enabled, | |
20 | produces code which is typically 40% smaller than in Free mode. | |
21 | See http://microchip.com for more information. | |
22 | ||
23 | jarin@plechac:~/storage/main/TMP$ ls | |
24 | file.as file.cof file.hxl file.sdb l.obj startup.lst | |
25 | file.c file.d file.p1 file.sym main.c~ startup.obj | |
26 | file.cmf file.hex file.pre funclist startup.as startup.rlf | |
27 | jarin@plechac:~/storage/main/TMP$ cat file.hex | |
28 | :08000000803102288731FC2F3A | |
29 | :0A0FF600FB2F7E1020008731FB2F37 | |
30 | :00000001FF | |
31 | jarin@plechac:~/storage/main/TMP$ |