# How to Enter an Address

You should enter an address as a hexadecimal number or a location name. When you enter the address in the hexadecimal format, you can omit the segment part of the address and the current segment will be used. Addresses beyond the program limits are invalid.

Also, you can enter a location name with a displacement:

```
        name+5
```

And finally you can specify a relative address:

```
        +10             0x10 bytes further
        -5              5 bytes backwards
```

If the entered string cannot be recognized as a hexadecimal number or location name, IDA will try to interpret it as an expression using the current script interpreter. The default interpreter is [IDC](/9.0/developer-guide/idc/core-concepts.md).

Special addresses: $ - current location (depends on the current [assembler](/9.0/user-guide/user-interface/menu-bar/options.md#specify-target-assembler)) Examples:

`456` current segment, offset 0x456

`5E` current segment, offset 0x5E

`3000:34` segment 0x3000, offset 0x34

`ds:67` segment pointed by ds, offset 0x67

`0:4000000` [linear address](/9.0/user-guide/user-interface/menu-bar/edit/segments.md#ida-address-space-concepts)

`0x4000000` start a location with name 'start'


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hex-rays.com/9.0/user-guide/disassembler/navigation/how-to-enter-an-address.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
