Maker Pro
Maker Pro

New to AVR Studio 4

R

Roy

Jan 1, 1970
0
When I built a program how do I find out how much memory the program will
take in the microchip?

The Studio 4 indicates after a build that there are 60 words - is that to
say 60 bytes of say a 1k memory and therefore I have 940 words/bytes
remaining?


--
*************************************************
Roy Hopkins :)

Tauranga
New Zealand
*************************************************
 
D

dont know

Jan 1, 1970
0
Roy said:
When I built a program how do I find out how much memory the program
will take in the microchip?
microchip?? is this something new? didn't know about AVR studio and
microchip.
 
R

Rich Webb

Jan 1, 1970
0
When I built a program how do I find out how much memory the program will
take in the microchip?

The Studio 4 indicates after a build that there are 60 words - is that to
say 60 bytes of say a 1k memory and therefore I have 940 words/bytes
remaining?

Not quite. Remember that the AVR uses a fixed-length instruction set of
two bytes, so the 60 instruction words occupy 120 8-bit bytes out of a
possible instruction space of 512 words (1024 bytes).
 
R

Roy

Jan 1, 1970
0
Thanks for that answer.

ps To the previous reply, I was not referring to microchip as in PIC chips
but that the AVR chip is a microchip :)
 
M

Michel Catudal

Jan 1, 1970
0
Roy said:
When I built a program how do I find out how much memory the program will
take in the microchip?

AVR is no Microchip, for more information on microchip
http://www.microchip.com
The Studio 4 indicates after a build that there are 60 words - is that to
say 60 bytes of say a 1k memory and therefore I have 940 words/bytes
remaining?

The program is 16 bits but the memory is calculated in bytes.

--
Candidates war record :
John Kerry : 3 purple hearts
GW Bush : 2 cavities

John Kerry for president
http://www.johnkerry.com/

http://www.netonecom.net/~bbcat
 
Top