|
The Goto tool can be used to jump to any address in the current file. The two main methods of using the Goto tool are by clicking the 'Search > Goto...' menu option, or using the Goto Field located in the Tool Bars.
Goto Dialog
Open the Goto dialog box by clicking the 'Search > Goto...' menu option or pressing Ctrl+G. Enter a numeric address in the Address field. Use the Decimal or Hex radio buttons to control the numeric format of the address, or use any of the formats described in the Introduction to Number Systems section.
By default, the address used will be offset from an origin. The origin can be controlled using the Direction radio buttons on the right side of the dialog:
- From Beginning of File - Origin is at the beginning of the file.
- From Current Position - Origin is the current position and plus or minus are used to move forward or backward. For example, use '+0x20' to skip forward 32 bytes or '-16' to skip backward 16 bytes.
- From End of File - Origin is at the end of the file. For example, use '<16' to jump to the 16th byte from the end of the file.
Click the OK button to move the cursor to the new address, or Cancel to close the dialog.
Goto Field
Alternately, the Goto Field can be used in the Tool Bar to jump to an address without opening the Goto Dialog. This field will accept any of the standard numeric formats. Use '+' or '-' before the number to move the cursor relative from the current position. Use '<' to move the cursor from the end of the file as described above. After entering an address in the field, press the Enter key to jump to the address. A list of the recent Goto commands can be accessed by clicking the arrow to the right of the Goto Field.
Goto Again
Once the Goto tool has been used from the dialog or the Goto field, clicking 'Search > Goto Again' or pressing F6 will jump to the address again. If the address was relative to the current position, the cursor will be moved again in the same direction. For example, enter '+48' in the Goto Field and press Enter. Then press F6 multiple times to step through the file by 48 bytes.
|