- Joined Mar 1, 2009
Hey, I've been learning some of the more "in-depth" aspects of microcontrollers and something I've never really understood is memory size. To explain what I don't understand a little more, let me say, I know that a "bit" is one binary digit, and I know that a nibble is 4 bits, a byte is 8 bits, and a "word" is 4 bytes. That being said, how do you really estimate how much memory a program is going to use? Or how much EEPROM memory you'll need, etc? Is one instruction (i.e. CLRF, GPIO) equal to one word, and therefore 4 bytes?