# Split/unsplit expression

Hotkeys

**None**

Split current expression

**None**

Unsplit current expression

This command splits the current expression into multiple expressions. It is available only for int16, int32, or int64 assignments or expressions which were combiled by the decompiler (e.g. 64bit comparison on 32bit platform). Splitting an assignment breaks it into two assignments: one for the low part and one for the high part. Other expressions can be splitted into more than two expressions.

This command is useful if the decompiler erroneously combines multiple unrelated expressions into one. In some cases the types of the new variables should be explicitly specified to get a nice listing. For example:

```
        __int64 v0;
        v0 = 0ui64;
```

can be split into two assignments:

```
        __int32 v0;
        __int32 v1;
        v0 = 0;
        v1 = 0;
```

by right clicking on the 64-bit assignment operation (the '=' sign) and selecting the 'Split' command.

The split expression can be unsplit using the unsplit command. Unsplitting removes all effects of the previous Split commands.

See also: [interactive operation](https://github.com/HexRaysSA/docs/blob/9.0sp1/user-guide/decompiler/decompiler-manual/interactive.shtml)


---

# 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.0sp1/user-guide/decompiler/interactive/cmd_split.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.
