CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How Can I Fill last Program memory with constant???

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
syseop



Joined: 16 Nov 2005
Posts: 3

View user's profile Send private message MSN Messenger

How Can I Fill last Program memory with constant???
PostPosted: Wed Nov 16, 2005 9:36 am     Reply with quote

I use 79% Program memory of 12F675...

I want to fill Extra 21% Program memory with Opcode 0x0000 (NOP).

When I compile mysource.c with ccs-c, I want it to be filled with 0x0000 automatically.

How Can I do?


Last edited by syseop on Mon Nov 21, 2005 7:32 am; edited 1 time in total
Ttelmah
Guest







PostPosted: Wed Nov 16, 2005 10:06 am     Reply with quote

Assuming you have a recent compiler:
#FILL_ROM 0x0

Best Wishes
syseop



Joined: 16 Nov 2005
Posts: 3

View user's profile Send private message MSN Messenger

...^^;;;
PostPosted: Mon Nov 21, 2005 7:25 am     Reply with quote

That's so good.............

Thank you... Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group