Michael Beckerle created DAFFODIL-2119:
------------------------------------------

             Summary: Debugger RTL data dumps are nibbles-reversed
                 Key: DAFFODIL-2119
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2119
             Project: Daffodil
          Issue Type: Bug
          Components: Debugger
    Affects Versions: 2.3.0
            Reporter: Michael Beckerle


This is what the debugger outputs for parsing one of the tests for 
mil-std-2045, test2045msghdr1.

It detects that this is bitOrder leastSignificantBitFirst data and so presents 
the data Right-to-Left order, which is good.
{code:java}
     fedcba9876543210  ffee ddcc bbaa 9988 7766 5544 3322 1100  87654321
   cø€␀␀␀wü␚’gU€␀gä  368f 0800 0000 77cf a129 7655 0800 764e :00000000
          ␀␀␁›¶þ␐HD                   00 0010 b96b ef01 8444 :00000010{code}
 

However, this is gibberish, as the bytes of this data (left-to-right) are E4 67 
00 80 55....

So presented Right-to-left the values in the bytes shouldn't change. But if you 
look at the data dump above, the bytes are 4e 76 00 08 55.... which means the 
nibbles of each byte have been swapped.

That's just plain wrong. Bit order doesn't change the numeric value of any byte.

These displays are useless.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to