| Author |
Message |
   
fede
| | Posted on Thursday, Jun 27, 2002 - 10:39: | |
Hi, I need to change the offset from byte to word, or doubleword...for example: offset 0x0 -> first 16 bits offset 0x1 -> second 16 bits ... Is that possible? |
   
Chris
| | Posted on Thursday, Jun 27, 2002 - 15:48: | |
Hi fede, I'm not sure what you mean by to "change the offset". However, if you want to go to a word or dword offset, then there are two ways to do it. 1. Alt+G 2. Position -> Go To Offset 3. Clicking on the "Offset:" area at the bottom of the screen. Its to the right of "Page x of x". From any of the above, you can specify the amount of bytes/words/dwords yo want to move in the file relative to the beginning of file, current position, current position (from EOF) and end of file. Hope that helps! BTW, Stefan you might want to change the "back from" to something like "from end or eof", etc. |
   
Stefan Fleischmann (Admin)
| | Posted on Thursday, Jun 27, 2002 - 21:46: | |
I saw this wording in a native English speaker's software, so I guess it's clear and correct. |
   
fede
| | Posted on Friday, Jun 28, 2002 - 9:52: | |
sorry if I didn't explain myself clearly... with changing offset I don't mean to move around in the file. What I would like to change is what the offset is pointing to. At the moment, the offset 0x0, for example, points at the first byte in the file, offset 0x1 points at the second byte, and so on. Now, is it possible to have offset 0x0 pointing at the first word (or dword), and offset 0x1 at the second word (or dword), and so on? TIA |
   
Stefan Fleischmann (Admin)
| | Posted on Friday, Jun 28, 2002 - 12:28: | |
You can make use of so-called record offset. In View | Record Presentation, specify a record size of 2 or 4 bytes and enable "relative record offsets". The status bar will now display the current position as the number of the record (= the offset you want) and the byte offset within this record. In Position | Go To Offset you can now also move in units of the current record size, e.g. go to a specific offset measured the way you describe. Please note that the normal offset column does not change, however. |
|