> For the complete documentation index, see [llms.txt](https://docs.hex-rays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hex-rays.com/ida-9.3/core/decompiler/reference/decompiler-actions.md).

# Decompiler Actions

The decompiler provides two primary views: **Pseudocode** and **Microcode**, each with its own set of actions. These actions are accessible either from the top menu bar or through context menus.

{% hint style="info" %}
To explore which actions are available from the top menu bar for each view, refer to [Menu Bar Actions](/ida-9.3/core/user-interface/reference/menu-bar-actions.md).
{% endhint %}

Most actions are context-sensitive and are only available when the cursor is positioned on specific elements.

## Pseudocode Actions

Below is an overview of all decompiler-related actions available in the Pseudocode Actions.

| UI Action Name                                                                     | Action Name              | Description                                                                                                                                                                                                                                |
| ---------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Add empty line](/ida-9.3/ida-actions/hx_addemptyline.md)                          | `hx:AddEmptyLine`        |                                                                                                                                                                                                                                            |
| [Add pseudocode comments...](/ida-9.3/ida-actions/hx_addpseudocmt.md)              | `hx:AddPseudoCmt`        | Add pseudocode comments.                                                                                                                                                                                                                   |
| [Add variadic argument](/ida-9.3/ida-actions/hx_addvararg.md)                      | `hx:AddVarArg`           | Add an argument of a variadic call.                                                                                                                                                                                                        |
| [Bitwise negate](/ida-9.3/ida-actions/hx_bitwisenegate.md)                         | `hx:BitwiseNegate`       |                                                                                                                                                                                                                                            |
| [Char](/ida-9.3/ida-actions/hx_char.md)                                            | `hx:Char`                | Switch to character constant representation. See also [Number representation](/ida-9.3/core/decompiler/concepts/number-representation.md).                                                                                                 |
| [Collapse declarations](/ida-9.3/ida-actions/hx_collapsedecls.md)                  | `hx:CollapseDecls`       |                                                                                                                                                                                                                                            |
| [Collapse item](/ida-9.3/ida-actions/hx_collapseitem.md)                           | `hx:CollapseItem`        |                                                                                                                                                                                                                                            |
| [Convert to struct \*...](/ida-9.3/ida-actions/hx_cvt2strucptr.md)                 | `hx:Cvt2StrucPtr`        |                                                                                                                                                                                                                                            |
| [Copy to assembly](/ida-9.3/ida-actions/hx_copy2asm.md)                            | `hx:Copy2Asm`            |                                                                                                                                                                                                                                            |
| [Create C file...](/ida-9.3/ida-actions/hx_createcfile.md)                         | `hx:CreateCFile`         | Create C file.                                                                                                                                                                                                                             |
| [Create new struct type...](/ida-9.3/ida-actions/hx_newstruc.md)                   | `hx:NewStruc`            |                                                                                                                                                                                                                                            |
| [Decimal](/ida-9.3/ida-actions/hx_dec.md)                                          | `hx:Dec`                 | See [Number representation](/ida-9.3/core/decompiler/concepts/number-representation.md).                                                                                                                                                   |
| [Decompile as call...](/ida-9.3/ida-actions/hx_userdefinedcall.md)                 | `hx:UserDefinedCall`     | Decompile as call.                                                                                                                                                                                                                         |
| [Delete orphan comments](/ida-9.3/ida-actions/hx_delorphancmts.md)                 | `hx:DelOrphanCmts`       |                                                                                                                                                                                                                                            |
| [Delete pseudocode comments...](/ida-9.3/ida-actions/hx_delpseudocmt.md)           | `hx:DelPseudoCmt`        | Delete pseudocode comments.                                                                                                                                                                                                                |
| [Delete variadic argument](/ida-9.3/ida-actions/hx_delvararg.md)                   | `hx:DelVarArg`           |                                                                                                                                                                                                                                            |
| [Edit block comment...](/ida-9.3/ida-actions/hx_editblockcmt.md)                   | `hx:EditBlockCmt`        |                                                                                                                                                                                                                                            |
| [Edit comment...](/ida-9.3/ida-actions/hx_editcmt.md)                              | `hx:EditCmt`             | This command edits the indented comment for the current line or the current variable. It can be applied to the local variable definition area (at the top of the output) and to the function statement area (at the bottom of the output). |
| [Edit type...](/ida-9.3/ida-actions/hx_edittype.md)                                | `hx:EditType`            |                                                                                                                                                                                                                                            |
| [Enum](/ida-9.3/ida-actions/hx_enum.md)                                            | `hx:Enum`                | Switch to enumeration (symbolic constant) representation. See also [Number representation](/ida-9.3/core/decompiler/concepts/number-representation.md).                                                                                    |
| [Extract function...](/ida-9.3/ida-actions/hx_extractfunc.md)                      | `hx:ExtractFunc`         | Extract function.                                                                                                                                                                                                                          |
| [Forbid assignment propagation](/ida-9.3/ida-actions/hx_nopropvar.md)              | `hx:NopropVar`           |                                                                                                                                                                                                                                            |
| [Force call type](/ida-9.3/ida-actions/hx_forcecalltype.md)                        | `hx:ForceCallType`       |                                                                                                                                                                                                                                            |
| [Generate HTML...](/ida-9.3/ida-actions/hx_genhtml.md)                             | `hx:GenHtml`             |                                                                                                                                                                                                                                            |
| [Generate pseudocode](/ida-9.3/ida-actions/hx_genpseudo.md)                        | `hx:GenPseudo`           |                                                                                                                                                                                                                                            |
| [Hexadecimal](/ida-9.3/ida-actions/hx_hex.md)                                      | `hx:Hex`                 | See [Number representation](/ida-9.3/core/decompiler/concepts/number-representation.md).                                                                                                                                                   |
| [Hide casts](/ida-9.3/ida-actions/hx_toggleshowcasts.md)                           | `hx:ToggleShowCasts`     |                                                                                                                                                                                                                                            |
| [hx\_JmpLocalType](/ida-9.3/ida-actions/hx_jmplocaltype.md)                        | `hx:JmpLocalType`        |                                                                                                                                                                                                                                            |
| [hx\_ToggleSSEIntrinsics](/ida-9.3/ida-actions/hx_togglesseintrinsics.md)          | `hx:ToggleSSEIntrinsics` |                                                                                                                                                                                                                                            |
| [Invert sign](/ida-9.3/ida-actions/hx_invertsign.md)                               | `hx:InvertSign`          |                                                                                                                                                                                                                                            |
| [Jump to matching brace](/ida-9.3/ida-actions/hx_jumpnextparen.md)                 | `hx:JumpNextParen`       |                                                                                                                                                                                                                                            |
| [Jump to pseudocode](/ida-9.3/ida-actions/hx_jumppseudo.md)                        | `hx:JumpPseudo`          |                                                                                                                                                                                                                                            |
| [Jump to pseudocode in a new view](/ida-9.3/ida-actions/hx_jumpnewpseudo.md)       | `hx:JumpNewPseudo`       |                                                                                                                                                                                                                                            |
| [Jump to structure definition...](/ida-9.3/ida-actions/hx_jmpstrucdef.md)          | `hx:JmpStrucDef`         |                                                                                                                                                                                                                                            |
| [Jump to xref globally...](/ida-9.3/ida-actions/hx_jumpglobalxref.md)              | `hx:JumpGlobalXref`      |                                                                                                                                                                                                                                            |
| [Jump to xref...](/ida-9.3/ida-actions/hx_jmpxref.md)                              | `hx:JmpXref`             |                                                                                                                                                                                                                                            |
| [Map to another variable...](/ida-9.3/ida-actions/hx_map2othervar.md)              | `hx:Map2OtherVar`        |                                                                                                                                                                                                                                            |
| [Mark as decompiled](/ida-9.3/ida-actions/hx_markdecompiled.md)                    | `hx:MarkDecompiled`      |                                                                                                                                                                                                                                            |
| [Octal](/ida-9.3/ida-actions/hx_oct.md)                                            | `hx:Oct`                 | Convert to an octal number. See also [Number representation](/ida-9.3/core/decompiler/concepts/number-representation.md).                                                                                                                  |
| [Quick rename...](/ida-9.3/ida-actions/hx_quickrename.md)                          | `hx:QuickRename`         |                                                                                                                                                                                                                                            |
| [Remove function argument/retval](/ida-9.3/ida-actions/hx_removearg.md)            | `hx:RemoveArg`           |                                                                                                                                                                                                                                            |
| [Remove/Add function retval](/ida-9.3/ida-actions/hx_addremovereturn.md)           | `hx:AddRemoveReturn`     |                                                                                                                                                                                                                                            |
| [Rename label...](/ida-9.3/ida-actions/hx_rename.md)                               | `hx:Rename`              |                                                                                                                                                                                                                                            |
| [Reset decompiler information...](/ida-9.3/ida-actions/hx_restypeinfo.md)          | `hx:ResTypeInfo`         | Reset decompiler information.                                                                                                                                                                                                              |
| [Reset pointer type](/ida-9.3/ida-actions/hx_resetptrtype.md)                      | `hx:ResetPtrType`        |                                                                                                                                                                                                                                            |
| [Revert CONTAINING\_RECORD](/ida-9.3/ida-actions/hx_delcontainingrecord.md)        | `hx:DelContainingRecord` |                                                                                                                                                                                                                                            |
| [Select union field...](/ida-9.3/ida-actions/hx_selunionfield.md)                  | `hx:SelUnionField`       |                                                                                                                                                                                                                                            |
| [Send database...](/ida-9.3/ida-actions/hx_sendidb.md)                             | `hx:SendIDB`             | Send current database to our server.                                                                                                                                                                                                       |
| [Set call type](/ida-9.3/ida-actions/hx_setcalltype.md)                            | `hx:SetCallType`         |                                                                                                                                                                                                                                            |
| [Set type](/ida-9.3/ida-actions/hx_settype.md)                                     | `hx:SetType`             |                                                                                                                                                                                                                                            |
| [Show all call decompilations...](/ida-9.3/ida-actions/hx_calldecomp.md)           | `hx:CallDecomp`          |                                                                                                                                                                                                                                            |
| [Show all xref decompilations...](/ida-9.3/ida-actions/hx_xrefdecomp.md)           | `hx:XrefDecomp`          |                                                                                                                                                                                                                                            |
| [Split expression](/ida-9.3/ida-actions/hx_splitexpr.md)                           | `hx:SplitExpr`           |                                                                                                                                                                                                                                            |
| [Split memory access](/ida-9.3/ida-actions/hx_splitmemaccess.md)                   | `hx:SplitMemAccess`      |                                                                                                                                                                                                                                            |
| [Split variable](/ida-9.3/ida-actions/hx_splitvar.md)                              | `hx:SplitVar`            |                                                                                                                                                                                                                                            |
| [Stock Comments](/ida-9.3/ida-actions/hx_stockcomments.md)                         | `hx:StockComments`       |                                                                                                                                                                                                                                            |
| [Structure offset](/ida-9.3/ida-actions/hx_strucoffset.md)                         | `hx:StrucOffset`         |                                                                                                                                                                                                                                            |
| [Toggle hex/dec](/ida-9.3/ida-actions/hx_hexdec.md)                                | `hx:HexDec`              | Toggle between hexadecimal and decimal representations. See also [Number representation](/ida-9.3/core/decompiler/concepts/number-representation.md).                                                                                      |
| [Toggle skippable instructions...](/ida-9.3/ida-actions/hx_toggleskippableinsn.md) | `hx:ToggleSkippableInsn` | Toggle skippable instructions.                                                                                                                                                                                                             |
| [Uncollapse declarations](/ida-9.3/ida-actions/hx_expanddecls.md)                  | `hx:ExpandDecls`         |                                                                                                                                                                                                                                            |
| [Uncollapse item](/ida-9.3/ida-actions/hx_expanditem.md)                           | `hx:ExpandItem`          |                                                                                                                                                                                                                                            |
| [Unmap variable(s)...](/ida-9.3/ida-actions/hx_unmapvar.md)                        | `hx:UnmapVar`            |                                                                                                                                                                                                                                            |
| [Unmark as decompiled](/ida-9.3/ida-actions/hx_unmarkdecompiled.md)                | `hx:UnmarkDecompiled`    |                                                                                                                                                                                                                                            |
| [Unsplit expression](/ida-9.3/ida-actions/hx_unsplitexpr.md)                       | `hx:UnsplitExpr`         |                                                                                                                                                                                                                                            |
| [Unsplit memory access](/ida-9.3/ida-actions/hx_unsplitmemaccess.md)               | `hx:UnsplitMemAccess`    |                                                                                                                                                                                                                                            |
| [Unsplit variable](/ida-9.3/ida-actions/hx_unsplitvar.md)                          | `hx:UnsplitVar`          |                                                                                                                                                                                                                                            |

## Microcode Actions

Below is an overview of all decompiler-related actions available in the Microcode Actions.

| UI Action Name                                                          | Action Name               | Description                    |
| ----------------------------------------------------------------------- | ------------------------- | ------------------------------ |
| [Delete microcode instruction](/ida-9.3/ida-actions/mv_deleteinsn.md)   | `mv:DeleteInsn`           | Delete microcode instruction.  |
| [Display chains...](/ida-9.3/ida-actions/mv_displaychains.md)           | `mv:DisplayChains`        |                                |
| [Display ctree...](/ida-9.3/ida-actions/mv_displayctree.md)             | `mv:DisplayCTree`         |                                |
| [Display local types...](/ida-9.3/ida-actions/mv_displayvdtypes.md)     | `mv:DisplayVdTypes`       |                                |
| [Display microcode graph...](/ida-9.3/ida-actions/mv_displaymcgraph.md) | `mv:DisplayMCGraph`       |                                |
| [Edit block comment...](/ida-9.3/ida-actions/mv_editblockcmt.md)        | `mv:EditBlockCmt`         |                                |
| [Edit microcode comment...](/ida-9.3/ida-actions/mv_editcmt.md)         | `mv:EditCmt`              | Edit comment of microcode line |
| [Generate microcode](/ida-9.3/ida-actions/mv_genmicro.md)               | `mv:GenMicro`             |                                |
| [Hide value numbers](/ida-9.3/ida-actions/mv_toggledisplayvalnums.md)   | `mv:ToggleDisplayValnums` |                                |
| [Highest maturity level](/ida-9.3/ida-actions/mv_highestmicro.md)       | `mv:HighestMicro`         |                                |
| [Insert assertion...](/ida-9.3/ida-actions/mv_insertinsn.md)            | `mv:InsertInsn`           | Insert assertion               |
| [Jump to disassembly](/ida-9.3/ida-actions/mv_jumptodisasm.md)          | `mv:JumpToDisasm`         |                                |
| [List cross references from...](/ida-9.3/ida-actions/mv_jmpxreffrom.md) | `mv:JmpXrefFrom`          |                                |
| [List cross references to...](/ida-9.3/ida-actions/mv_jmpxref.md)       | `mv:JmpXref`              |                                |
| [Lower maturity level](/ida-9.3/ida-actions/mv_lowermicro.md)           | `mv:LowerMicro`           |                                |
| [Raise maturity level](/ida-9.3/ida-actions/mv_raisemicro.md)           | `mv:RaiseMicro`           |                                |
| [Refresh](/ida-9.3/ida-actions/mv_refresh.md)                           | `mv:Refresh`              |                                |
| [Short view](/ida-9.3/ida-actions/mv_toggleviewshort.md)                | `mv:ToggleViewShort`      |                                |
| [Show addresses](/ida-9.3/ida-actions/mv_toggledisplayea.md)            | `mv:ToggleDisplayEA`      |                                |
| [Show number origins](/ida-9.3/ida-actions/mv_toggledisplaynumorig.md)  | `mv:ToggleDisplayNumorig` |                                |
| [Structural analysis...](/ida-9.3/ida-actions/mv_structuralana.md)      | `mv:StructuralAna`        |                                |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.hex-rays.com/ida-9.3/core/decompiler/reference/decompiler-actions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
