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

Search found 6 matches
CCS Forum Index
Author Message
  Topic: set_tris_a problem
ellrod

Replies: 24
Views: 48518

PostForum: General CCS C Discussion   Posted: Thu Dec 16, 2004 8:31 am   Subject: set_tris_a problem
Ah yes, stupid me. Thanks for your help !
  Topic: set_tris_a problem
ellrod

Replies: 24
Views: 48518

PostForum: General CCS C Discussion   Posted: Wed Dec 15, 2004 7:50 am   Subject: set_tris_a problem
Here is the C code:

#include <16F88.H>

#fuses INTRC_IO,NOWDT,NOPROTECT,NOBROWNOUT,NOMCLR,NOFCMEN,NOIESO,NOLVP,CCPB3

#use fast_io(a)
#use fast_io(b)

#byte trisa_x = 0x85
#byte trisb ...
  Topic: set_tris_a problem
ellrod

Replies: 24
Views: 48518

PostForum: General CCS C Discussion   Posted: Tue Dec 14, 2004 6:44 pm   Subject: set_tris_a problem
That's the odd thing, as you can see in the original fragment of the .lst file I posted the instuction immediately following the MOVLW <tris value> is not included in the listing, it's just skip ...
  Topic: set_tris_a problem
ellrod

Replies: 24
Views: 48518

PostForum: General CCS C Discussion   Posted: Tue Dec 14, 2004 5:12 pm   Subject: set_tris_a problem
MPLAB 6.62 and CCS 3.209
  Topic: set_tris_a problem
ellrod

Replies: 24
Views: 48518

PostForum: General CCS C Discussion   Posted: Tue Dec 14, 2004 4:45 pm   Subject: set_tris_a problem
Sorry, I meant to say lines 626 and 628, which are code locs, are not included anywhere in the disassembly listing.

Both A and B ports on the 16F88 are full eight bits wide so the upper tris bits a ...
  Topic: set_tris_a problem
ellrod

Replies: 24
Views: 48518

PostForum: General CCS C Discussion   Posted: Tue Dec 14, 2004 3:47 pm   Subject: set_tris_a problem
Here's one I've been beating on for a couple of hours now....

#include <16F88.H>
#fuses INTRC_IO,NOWDT,NOPROTECT,NOBROWNOUT,NOMCLR,NOFCMEN,NOIESO,NOLVP,CCPB3

#use fast_io(a)
#use fast_io ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group