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

Return low byte of address

 
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

Return low byte of address
PostPosted: Mon Aug 22, 2005 8:55 am     Reply with quote

Hello.

I am trying to implement
movlw LOW(ABC)

Can I use LOW, HIGH assembly Operators?

Best
Myunghee Kim
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Mon Aug 22, 2005 2:30 pm     Reply with quote

I don't know the HIGH and LOW assembly operators. Which assembler are you referring to?

Very likely the make8() function is what you are looking for.

Again, see my remark in your other thread: Please program everything entirely in C or Assembly, don't try to mix them unless you have very good reasons to do so
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Aug 22, 2005 5:35 pm     Reply with quote

I believe that it would be:

movlw &ABC
movlw &ABC + 1

http://www.ccsinfo.com/forum/viewtopic.php?t=7220
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