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

simple question

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



Joined: 04 May 2006
Posts: 16

View user's profile Send private message

simple question
PostPosted: Fri May 19, 2006 5:56 am     Reply with quote

can anybody explane me purpose of this code:
Code:

#bit x3=x.3
#bit x2=x.2
#bit x1=x.1
#bit x0=x.0

#bit y3=5.5
#bit y2=9.0
#bit y1=9.1
#bit y0=9.2
#bit rf=8.3
#bit START=8.0
#bit STOP=8.2
#bit KLEPE=7.3

Does it refer to a pins of the any ports?If my opinion is right
,which ports and also which pins?If my opinion is wrong,why this commend used?I couldn't understand:sad:
Thanks a lot....
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Fri May 19, 2006 6:21 am     Reply with quote

A line like:

#bit y3=9.1

means that you are giving a name to bit 1 of memory address 9.

The line #bit x3 = x.3 indicates that somewhere else in the code, a memory address was given the name x and bit 3 of this address will be given the name x3.
LEVENT



Joined: 04 May 2006
Posts: 16

View user's profile Send private message

PostPosted: Fri May 19, 2006 7:00 am     Reply with quote

thanks,I fined that,memory address of 9 is refer to PORTE Very Happy
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