gnupic: Re: [gnupic] gpsim/gpasm assertions


Previous by date: 27 May 2005 04:12:27 +0100 Re: [gnupic] gplink dead section optimization, Craig Franklin
Next by date: 27 May 2005 04:12:27 +0100 Re: [gnupic] gpsim/gpasm assertions, Scott Dattalo
Previous in thread: 27 May 2005 04:12:27 +0100 Re: [gnupic] gpsim/gpasm assertions, Scott Dattalo
Next in thread: 27 May 2005 04:12:27 +0100 Re: [gnupic] gpsim/gpasm assertions, Scott Dattalo

Subject: Re: [gnupic] gpsim/gpasm assertions
From: Craig Franklin ####@####.####
Date: 27 May 2005 04:12:27 +0100
Message-Id: <42969081.4010007@users.sourceforge.net>

Scott Dattalo wrote:

>On Thu, 2005-05-26 at 20:57 -0500, Craig Franklin wrote:
>
>  
>
>>Version 4.0 of the COD file spec says this:
>>
>>If expression is true (non-zero) then execution halts and a message is
>>printed to standard error containing the following information:
>>- name of the source code file containing the triggered assertion
>>- source line number of the triggered assertion
>>    
>>
>
>Okay, I can do this. Here's a lazy question: do you know where I can find
>version 4.0 COD file specification?
>
>  
>
The spec is free of charge, but Byte Craft requires that you don't 
redistribute it.  I filled out a form on their website and got it in a 
couple of days.

>>Scott Dattalo wrote:
>>    
>>
>>>There's an issue with using quoted strings with assembly assertions;
>>>currently gpasm does no parsing of assertion text (or any .direct type
>>>text for that matter) and thus it's currently not possible to specify a
>>>quote character as part of the string. I suppose the text parsing can be
>>>part of gpsim instead... I'm not sure which is better; should gpsim or
>>>gpasm parse string escapes?
>>>
>>>      
>>>
>>gpasm can convert the escape characters, if that is best.  I am not
>>worried about the quotes.  What about the other characters (\t \n \r
>>...)?  Are there any problems with converting those?  It has to be all
>>or none.
>>    
>>
>
>The way I look at it, it's easier for gpsim to filter out stuff that it
>knows is bad, but much harder to add stuff that the user may want. As it
>stands, gpsim will parse the string and add a '\n' to the end of it.
>
>  
>
OK.

>BTW, I was going to call the same function that doDt calls to expand its
>escapes, but saw that it did things like convert octal numbers to
>objects...
>
>  
>
gpasm would do the same thing.

>Scott
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
>  
>


Previous by date: 27 May 2005 04:12:27 +0100 Re: [gnupic] gplink dead section optimization, Craig Franklin
Next by date: 27 May 2005 04:12:27 +0100 Re: [gnupic] gpsim/gpasm assertions, Scott Dattalo
Previous in thread: 27 May 2005 04:12:27 +0100 Re: [gnupic] gpsim/gpasm assertions, Scott Dattalo
Next in thread: 27 May 2005 04:12:27 +0100 Re: [gnupic] gpsim/gpasm assertions, Scott Dattalo


Powered by ezmlm-browse 0.20.