Go Back   Scooter Forums > Beyond Compare 3 Discussion > File Formats vs. Rules
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 25-Jul-2011, 05:50 PM
edaverill edaverill is offline
New User
 
Join Date: Jul 2011
Posts: 1
Default comparing C-compiler output assembly listings

I am doing pretty well at getting BC3 to ignore unimportant things when I compare listings from two compiler versions. Of course, one of the key pieces is ignoring addresses when they appear in the listing, since most any change will produce different addresses.

I have created rules for many assembly instructions that match from the opcode to the text of the instruction code. I have then told BC3 that these are "unimportant".

The problem is that I really would like to ignore mismatch if I get "ldd" on both sides, but not ignore the mismatch if I get "ldx" on one side and "ldy" on the other side.

I really want the types to be tested for match, but the contents not to be.

Is there a way to tell BC3 that I want that?

Thanks,

--Ed
Reply With Quote
  #2  
Old 26-Jul-2011, 08:32 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,444
Default

Hello,

Is "ldd" literal text that can appear on both sides, or is it the name of one of your grammar elements?

If the literal text "ldd" is on both sides and aligns, it should be marked as equal, and not need to be defined as Unimportant. That way, when it matches with "ldy" it would then appear as an important difference.

If ldd and ldx are grammar elements with equal text that align, they will still be marked as a difference, since the grammar element names are different. An example of this is when Strings align to non-Strings, and are marked as a difference, even if the text is equal.
"Text Here."
vs.
Text Here.

A full screen screenshot of your current comparison may help, showing ldd and ldy, and please let us know how you then expect them to be compared.

If you would like to email us instead of posting to our public forum, our email is support@scootersoftware.com. Please include the link back to this forum post for our reference.
__________________
Aaron P Scooter Software
Reply With Quote
Reply

Tags
assembly listings, c-compiler

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 09:01 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.