We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi
I have the following code in cryptography. It is a function which accepts a "key" and "state" inputs and then encrypts state using key.
uint state[4]={0,1,2,3}; uint key[8]={1,2,3,4,5,6,7,8}; Encrypt(state,key);
When I increase size of the "state" variable, I expect to see RW-Data to grow. Because variables are located in RAM. But I see that code size and RO-Data increase instead.
Why ?!
I appreciate your help.
Regards
Thank you Hans-Bernhard. This was helpful. and I did not know that.
I am preparing a report on memory usage of numerous algorithms.
So, I will try to find the maximum RAM usage during the execution of the program. This is what I actually have been looking for. And apparently is not obvious in the compiler global memory report.