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

pcd mac assembler instruction.

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



Joined: 18 Mar 2014
Posts: 4

View user's profile Send private message

pcd mac assembler instruction.
PostPosted: Tue Mar 18, 2014 2:21 pm     Reply with quote

Does the pcd compiler implement the full mac instruction with two register prefetch and increment.

MAC B, W2*W3, W2, [W5]+=2, W3, [W7]+=4

In this case W2 and W3 pointers are both updated in the same cycle.

The documentation is not really clear on this.

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Mar 18, 2014 5:08 pm     Reply with quote

Make a very small test program. Comment out the #nolist statement
in the PIC's .h file (so it will show all CCS "library" code). Make sure
the .LST file format is set for Symbolic in the CCS IDE or MPLAB project
build options menu. Then compile it and look at the .LST file.


Also use the forum search page for some historical problems in vs. 4.092:
http://www.ccsinfo.com/forum/viewtopic.php?t=38964

Also the CCS version list says:
Quote:
5.018 A problem with the encoding on an inline assembly MAC or MSC instruction is fixed
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