ROM used: 1041 (13%)
          1041 (13%) including unused fragments

          2 Average locations per line
          15 Average locations per statement

RAM used: 7 (2%) at main() level
          22 (6%) worst case

Stack used: 3 worst case (out of 8 total available)

Lines Stmts  %   Files
----- ----- ---  -----
   43    23  33  main.c
   20     0   0  main.h
  423     0   0  ..\..\..\..\..\Program Files (x86)\PICC\devices\16F887.h
   19     0   0  HMC5883L.h
  102    46  67  HMC5883L.c
----- -----
  607    69 Total

Page ROM  %  RAM   Vol Diff  Functions:
---- --- --- ---   --- ----  ----------
0     20   2   1             @delay_ms1
 Inline        3             @I2C_READ_1
0     74   7   1             @I2C_WRITE_1
0     36   3   1             @PUTCHAR_1_
0    178  17   0   357  1.4  set_mag
0    155  15   1   152  2.2  mag_read
0     21   2   6   129  4.6  mag_vypocet
0     26   2   4   171  2.7  mag_readX
0     26   2   4   171  2.7  mag_readY
0     26   2   4   171  2.7  mag_readZ
0    226  22   1   679  3.3  MAIN
0      9   1   0             @const99
0     70   7   3             @PSTRINGC7_69
0     12   1   0             @const101
0     15   1   0             @const102
0     15   1   0             @const106
0    128  12   9             @PRINTF_LD_69

Program metrics:
    Functions               7
    Statements              69
    Comments                109
    Volume (V)              2784
    Difficilty (D)          18.3
    Effort to implement (E) 50828
    Time to implement (T)   47 minutes
    Est Delivered Bugs (B)  0
    Cyclomatic Complexity   1
    Maintainability (MI)    94

 Segment     Used  Free
-----------  ----  ----
00000-00003     4  0  
00004-007FF  1037  1007  
00800-00FFF     0  2048  
01000-017FF     0  2048  
01800-01FFF     0  2048