ROM used: 4010 (49%) 4011 (49%) including unused fragments 1 Average locations per line 7 Average locations per statement RAM used: 123 (34%) at main() level 204 (57%) worst case Stack used: 4 worst case (out of 6 total available) Lines Stmts % Files ----- ----- --- ----- 756 295 53 pic_microstep.c 28 0 0 c:\program files\picc\drivers\stddef.h 356 0 0 pic_microstep.h 310 0 0 c:\program files\picc\devices\16F877a.h 20 0 0 c:\program files\picc\drivers\errno.h 61 0 0 c:\program files\picc\drivers\float.h 71 0 0 c:\program files\picc\drivers\limits.h 2104 259 47 c:\program files\picc\drivers\math.h ----- ----- 3706 554 Total Page ROM % RAM Vol Diff Functions: ---- --- --- --- --- ---- ---------- 0 134 3 0 @const118 0 543 14 20 1124 10.7 CEIL_FLOOR 0 85 2 10 @FLT 0 33 1 4 @SFTOI 0 31 1 2 @ITOF 0 243 6 14 @DIVFF 0 326 8 16 @ADDFF 0 119 3 13 @MULFF Inline 4 43 2.1 floor Inline 4 44 1.9 ceil Inline 8 150 5.1 modf 0 40 1 4 245 3.8 write_stepper_mask 0 19 0 3 79 1.7 write_stepper_phase 0 239 6 2 894 7.1 RB_isr 0 104 3 4 292 5.8 TIMER1_isr 0 62 2 0 217 5.1 TIMER2_isr 1 272 7 9 1894 11.1 setup_stepper Inline 0 69 1.6 setup_pwm Inline 24 437 4.3 setup_DeltaTimer Inline 4 @DTOF 1 22 1 2 24 1.2 setMicrostepPWM Inline 9 158 2.3 setup_encoder Inline 1 293 3.2 setupPrescaler 1 587 15 1 890 3.2 init_config Inline 4 96 2.3 setup_timebase 1 446 11 14 2245 12.7 MAIN 1 70 2 13 @DIV3232 1 504 13 4 2694 12.9 step_motor 1 23 1 3 @DIV88 1 39 1 2 @MUL88 Program metrics: Functions 19 Statements 554 Comments 1085 Volume (V) 18416 Difficilty (D) 98.6 Effort to implement (E) 1815368 Time to implement (T) 28 hours, 1 minutes Est Delivered Bugs (B) 5 Cyclomatic Complexity 61 Maintainability (MI) 42 Segment Used Free ----------- ---- ---- 00000-00003 4 0 00004-00044 65 0 00045-007FF 1978 1 00800-00FFF 1963 85 01000-017FF 0 2048 01800-01FFF 0 2048