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

crystal
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 02, 2007 5:12 pm     Reply with quote

I compiled the test program that I had posted earlier in this thread,
only changing the PIC type to 18F2520. I used PCH vs. 3.249 and
I looked at the ASM code in the .LST file. It sets the ADFM bit properly,
so the result is right justified. It reads ADRESL and ADRESH.
I don't really see anything wrong.

Did you change the program ?

Can you post the exact test program that's you're using ?
Guest








PostPosted: Tue Jan 02, 2007 5:45 pm     Reply with quote

Found it.
I had #use fixed io defined in the code that was not working correctly. After deleting that, it is working fine.
Thanks for all the suggestions though.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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