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 CCS Technical Support

ASM RAM command to CCS

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



Joined: 18 Jul 2005
Posts: 14

View user's profile Send private message

ASM RAM command to CCS
PostPosted: Fri Aug 19, 2005 11:32 am     Reply with quote

Hello.

This is a sample code.

group2 udata_acs ;Declaration of group2 data. The
;addresses for data under this
;secton are allocated
;automatically by the linker.
=> How can I declare label?

group2_var1 res 1 ;All addresses be will allocated
group2_var2 res 1 ;in access RAM space only.
=> what can I use instead of res?

I think that #BYTE is different from res.
And I also found that I cannot use those command inside #ASM,#ENDASM.

How can I implement those commands?

Thank you
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Aug 19, 2005 11:45 am     Reply with quote

Look in the Readme.txt file for the latest version of the compiler. (3.231)
See the explanation of the new typemod and #type directives
which allow you to allocate a block of variables to a specified
address range of RAM.

The Readme.txt file is in this folder: c:\Program Files\Picc
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