Modify Data Function, 32-Bit Signed/U... Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Miscellaneous » Modify Data Function, 32-Bit Signed/Unsigned « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

John P. Graham
Username: johngraham

Registered: 1-1997
Posted on Wednesday, Nov 4, 2009 - 23:05:   

I am validating WinHex 15.3 for use by our laboratory. When I try to validate the Edit -> Modify Data and select 32-Bit (also highlighting the 32 bits I want to modify, I find I can't enter a negative number in hexadecimal format. If I want to subtract 1, I enter FFFFFFFF (select integer type 32 bit signed) but get an error box with "Invalid Input."
The same with 80000000. If I enter 7FFFFFFF, all works fine, of course that's not a negative number.

If I enter -1 and uncheck hexadec. box, all works fine.

Doing the same with 16-Bit (enter 0xFFFF and select integer type 16 bit signed) works fine for subtracting 1.

I have checked the Help file and this forum but have found nothing stating that this is not possible with a 32 bit integer.

It seems it should work so I don't know if I'm missing something or there is a bug.

Can you advise?
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann
Username: admin

Registered: 1-2001
Posted on Thursday, Nov 5, 2009 - 9:24:   

Some examples that I hope will help.

In decimal:
If you want to subtract 1, enter -1.
If you want to subtract 10, enter -10.
If you want to subtract 100, enter -100.

If hexadecimal:
If you want to subtract 1, enter -1.
If you want to subtract 10, enter -A.
If you want to subtract 100, enter -64.

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.