Reply by tech...@gmail.com March 21, 20072007-03-21
> Embedded or not; > > memset( (void*)0x3000, 0, 0x0300 ); > > ...if by "clear" you mean "set to zero", and provided you > have a C-library available... >
hi thanks for that..
Reply by Anders March 20, 20072007-03-20
techie.embedded@gmail.com wrote:
> For example, if i have to clear addresses from 3000h to 3300h, how do > i go about doing the same ???
Embedded or not; memset( (void*)0x3000, 0, 0x0300 ); ...if by "clear" you mean "set to zero", and provided you have a C-library available... </A>
Reply by tech...@gmail.com March 20, 20072007-03-20
Hi

Im new to the world of embedded systems.. Can anyone give me any
examples of accessing memory locations using C as well, as say,
clearing them ..

For example, if i have to clear addresses from 3000h to 3300h, how do
i go about doing the same ???

thanks heaps..

techie