06-28-2019 02:42 PM
Sir, your conversion is correct but the output is in normal display i want this conversion to be displayed in hex display because when i change the display mode to hex it shows incorrect value
06-29-2019 01:31 AM - edited 06-29-2019 01:32 AM
The value is independent from the display style, which is only a cosmetic property. It is either correct or incorrect in all display styles. It cannot be right in one and wrong in another.
I recommend you go back to the drawing board and analyze exactly what you want. Spend some time studying the issues. Once you are more familiar with display styles and formatting, the rest will fall into place.
Once in hex display, it will show spaces again between groups of four octets, but these are only virtual.