Hi, How can i compute the ROM, RAM size and runtime consumed by a function in C. For example: void main() { ... f(); } f() { ... ... } How can i compute the RAM, ROM and runtime consumed by the function f() from the listing file and the map file? Please help me. Thanks
RAM stands for Random Access Memory, it is the main memory of a computer system that helps the CPU( Central Processing Unit ) to execute the instruction as instructions first needed to be loaded into the RAM.
ROM stands for Read-Only Memory, it is also the primary memory like RAM. It is read-only in memory as we can only read data on ROM, we cannot write data on it.
Read this article to know more.