Bug in statistic RAM usage for 16F877 mikroc 6.62

Beta Testing discussion on mikroC PRO for PIC.
Post Reply
Author
Message
paulfjujo
Posts: 1544
Joined: 24 Jun 2007 19:27
Location: 01800 St Maurice de Gourdans France
Contact:

Bug in statistic RAM usage for 16F877 mikroc 6.62

#1 Post by paulfjujo » 29 Nov 2015 10:30

Hello,


in compiling window ,calculus seems correct for RAM and ROM usage
even the amount of RAM is based on 352 instead of 368 bytes for RAM..as specified in datasheet

i am using Windows 10 and MikroC pro 6.6.2
Bug_Ram_usage.jpg
Bug_Ram_usage.jpg (116.05 KiB) Viewed 3286 times
it is like some characters disappears from the screen
could you also show RAM amount in Bytes instead of Word.

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: Bug in statistic RAM usage for 16F877 mikroc 6.62

#2 Post by biljana.nedeljkovic » 01 Dec 2015 15:05

Hello,

that is not a bug, PIC microcontrollers unfortunately use some amount of RAM memory for their system settings.

Best regards,
Biljana

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: Bug in statistic RAM usage for 16F877 mikroc 6.62

#3 Post by janni » 01 Dec 2015 22:50

biljana.nedeljkovic wrote:PIC microcontrollers unfortunately use some amount of RAM memory for their system settings.
:?:

PIC16F877 does not use any of the 368 bytes of GPR RAM for system settings. If there was a reason for omitting 16 bytes in Statistics, it could only be in attempt to exclude RAM that compiler uses for internal variables.

Anyway, the main problems pointed out by paulfjujo lay in unreadable RAM statistic - missing first digits or whole numbers and use of "program words" in reference to RAM registers that should be expressed in bytes.

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: Bug in statistic RAM usage for 16F877 mikroc 6.62

#4 Post by biljana.nedeljkovic » 01 Dec 2015 23:54

Hello,

of course, syntax errors in the Statistics are the bug and they are already reported.
They should be fixed soon.

Thank you for your feedback.

Best regards,
Biljana

Post Reply

Return to “mikroC PRO for PIC Beta Testing”