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

Regarding arbitrary changes

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



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

Regarding arbitrary changes
PostPosted: Sat Dec 10, 2011 8:33 am     Reply with quote

To make my existing code compile with PCD V4.128, I needed to add one more conditional
Code:
#IF  getenv("VERSION")>=4.128
   #asm
   CP W0,2
   #endasm
#ELSE
   #asm
   CP 2
   #endasm
#ENDIF

But why?

Not enough, that you need to figure out the correct assembler syntax yourself, because the manual doesn't
tell it correctly, you also need to change it from time to time... Helps to keep an agile mind at least.

I'm going to check now, if V4.127 functionality has been preserved. Someone making a bet?
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

More assembler changes
PostPosted: Mon Sep 17, 2012 3:59 am     Reply with quote

Does someone know a syntax for the below statement accepted in PCD V4.134 or above?
I didn't yet succeed to guess one (or there's none at all).

#asm
....
CP.B W0,#1
....
#endasm

Regards,
Frank
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