Author Topic: How much is ZI,RW,RO & Code in arduino  (Read 857 times)

0 Members and 1 Guest are viewing this topic.

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 487
How much is ZI,RW,RO & Code in arduino
« on: July 09, 2017, 07:21:50 am »
1. I am using Arduino 1.8.1 & made a code in it. Board it Atemga2560 R3.
2. Final code size is:
   a) 674 bytes (8%) of dynamic memory, leaving 7518 bytes for local variables. Maximum is 8192 bytes
   b) 22440 bytes (8%) of program storage space. Maximum is 253952 bytes.
   
3. How to get below in arduino:
   a) Zero Initialize (ZI) or .bss
   b) Read Write (RW) or .data
   c) Read only (RO)
   d) Code or .text
   
4. In 3c, what is other name for RO area, like ZI is called .bss.

5. This is correct right?
   a) SRAM: .bss + .data + Stack + heap
   b) Flash: .text + RO
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf