# 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](/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 cast... - Add cast](/ida-actions/hx_addcast.md)                       | `hx:AddCast`             |                                                                                                                                                                                                                                            |
| [Add empty line](/ida-actions/hx_addemptyline.md)                          | `hx:AddEmptyLine`        |                                                                                                                                                                                                                                            |
| [Add pseudocode comments...](/ida-actions/hx_addpseudocmt.md)              | `hx:AddPseudoCmt`        | Add pseudocode comments.                                                                                                                                                                                                                   |
| [Add variadic argument](/ida-actions/hx_addvararg.md)                      | `hx:AddVarArg`           | Add an argument of a variadic call.                                                                                                                                                                                                        |
| [Bitwise negate](/ida-actions/hx_bitwisenegate.md)                         | `hx:BitwiseNegate`       |                                                                                                                                                                                                                                            |
| [Char](/ida-actions/hx_char.md)                                            | `hx:Char`                |                                                                                                                                                                                                                                            |
| [Clear cached cfuncs](/ida-actions/hx_clearcachedcfuncs.md)                | `hx:ClearCachedCfuncs`   |                                                                                                                                                                                                                                            |
| [Collapse declarations](/ida-actions/hx_collapsedecls.md)                  | `hx:CollapseDecls`       |                                                                                                                                                                                                                                            |
| [Collapse item](/ida-actions/hx_collapseitem.md)                           | `hx:CollapseItem`        |                                                                                                                                                                                                                                            |
| [Convert to struct \*...](/ida-actions/hx_cvt2strucptr.md)                 | `hx:Cvt2StrucPtr`        |                                                                                                                                                                                                                                            |
| [Copy to assembly](/ida-actions/hx_copy2asm.md)                            | `hx:Copy2Asm`            |                                                                                                                                                                                                                                            |
| [Create C file...](/ida-actions/hx_createcfile.md)                         | `hx:CreateCFile`         | Create C file.                                                                                                                                                                                                                             |
| [Create new struct type...](/ida-actions/hx_newstruc.md)                   | `hx:NewStruc`            |                                                                                                                                                                                                                                            |
| [Decimal](/ida-actions/hx_dec.md)                                          | `hx:Dec`                 |                                                                                                                                                                                                                                            |
| [Decompile as call...](/ida-actions/hx_userdefinedcall.md)                 | `hx:UserDefinedCall`     | Decompile as call.                                                                                                                                                                                                                         |
| [Delete orphan comments](/ida-actions/hx_delorphancmts.md)                 | `hx:DelOrphanCmts`       |                                                                                                                                                                                                                                            |
| [Delete pseudocode comments...](/ida-actions/hx_delpseudocmt.md)           | `hx:DelPseudoCmt`        | Delete pseudocode comments.                                                                                                                                                                                                                |
| [Delete variadic argument](/ida-actions/hx_delvararg.md)                   | `hx:DelVarArg`           |                                                                                                                                                                                                                                            |
| [Edit block comment...](/ida-actions/hx_editblockcmt.md)                   | `hx:EditBlockCmt`        |                                                                                                                                                                                                                                            |
| [Edit comment...](/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... - Edit type](/ida-actions/hx_edittype.md)                    | `hx:EditType`            |                                                                                                                                                                                                                                            |
| [Enum](/ida-actions/hx_enum.md)                                            | `hx:Enum`                |                                                                                                                                                                                                                                            |
| [Extract function...](/ida-actions/hx_extractfunc.md)                      | `hx:ExtractFunc`         | Extract function.                                                                                                                                                                                                                          |
| [Forbid assignment propagation](/ida-actions/hx_nopropvar.md)              | `hx:NopropVar`           |                                                                                                                                                                                                                                            |
| [Force call type](/ida-actions/hx_forcecalltype.md)                        | `hx:ForceCallType`       |                                                                                                                                                                                                                                            |
| [Generate HTML...](/ida-actions/hx_genhtml.md)                             | `hx:GenHtml`             |                                                                                                                                                                                                                                            |
| [Generate pseudocode](/ida-actions/hx_genpseudo.md)                        | `hx:GenPseudo`           |                                                                                                                                                                                                                                            |
| [Hexadecimal](/ida-actions/hx_hex.md)                                      | `hx:Hex`                 |                                                                                                                                                                                                                                            |
| [Hide casts](/ida-actions/hx_toggleshowcasts.md)                           | `hx:ToggleShowCasts`     |                                                                                                                                                                                                                                            |
| [hx\_JmpLocalType](/ida-actions/hx_jmplocaltype.md)                        | `hx:JmpLocalType`        |                                                                                                                                                                                                                                            |
| [hx\_ToggleSSEIntrinsics](/ida-actions/hx_togglesseintrinsics.md)          | `hx:ToggleSSEIntrinsics` |                                                                                                                                                                                                                                            |
| [Invert sign](/ida-actions/hx_invertsign.md)                               | `hx:InvertSign`          |                                                                                                                                                                                                                                            |
| [Jump to matching brace](/ida-actions/hx_jumpnextparen.md)                 | `hx:JumpNextParen`       |                                                                                                                                                                                                                                            |
| [Jump to pseudocode](/ida-actions/hx_jumppseudo.md)                        | `hx:JumpPseudo`          |                                                                                                                                                                                                                                            |
| [Jump to pseudocode in a new view](/ida-actions/hx_jumpnewpseudo.md)       | `hx:JumpNewPseudo`       |                                                                                                                                                                                                                                            |
| [Jump to structure definition...](/ida-actions/hx_jmpstrucdef.md)          | `hx:JmpStrucDef`         |                                                                                                                                                                                                                                            |
| [Jump to xref globally...](/ida-actions/hx_jumpglobalxref.md)              | `hx:JumpGlobalXref`      |                                                                                                                                                                                                                                            |
| [Jump to xref...](/ida-actions/hx_jmpxref.md)                              | `hx:JmpXref`             |                                                                                                                                                                                                                                            |
| [Map to another variable...](/ida-actions/hx_map2othervar.md)              | `hx:Map2OtherVar`        |                                                                                                                                                                                                                                            |
| [Mark as decompiled](/ida-actions/hx_markdecompiled.md)                    | `hx:MarkDecompiled`      |                                                                                                                                                                                                                                            |
| [Octal](/ida-actions/hx_oct.md)                                            | `hx:Oct`                 |                                                                                                                                                                                                                                            |
| [Quick rename...](/ida-actions/hx_quickrename.md)                          | `hx:QuickRename`         |                                                                                                                                                                                                                                            |
| [Remove function argument/retval](/ida-actions/hx_removearg.md)            | `hx:RemoveArg`           |                                                                                                                                                                                                                                            |
| [Remove/Add function retval](/ida-actions/hx_addremovereturn.md)           | `hx:AddRemoveReturn`     |                                                                                                                                                                                                                                            |
| [Rename label...](/ida-actions/hx_rename.md)                               | `hx:Rename`              |                                                                                                                                                                                                                                            |
| [Reset decompiler information...](/ida-actions/hx_restypeinfo.md)          | `hx:ResTypeInfo`         | Reset decompiler information.                                                                                                                                                                                                              |
| [Reset pointer type](/ida-actions/hx_resetptrtype.md)                      | `hx:ResetPtrType`        |                                                                                                                                                                                                                                            |
| [Revert CONTAINING\_RECORD](/ida-actions/hx_delcontainingrecord.md)        | `hx:DelContainingRecord` |                                                                                                                                                                                                                                            |
| [Select union field...](/ida-actions/hx_selunionfield.md)                  | `hx:SelUnionField`       |                                                                                                                                                                                                                                            |
| [Send database...](/ida-actions/hx_sendidb.md)                             | `hx:SendIDB`             | Send current database to our server.                                                                                                                                                                                                       |
| [Set call type](/ida-actions/hx_setcalltype.md)                            | `hx:SetCallType`         |                                                                                                                                                                                                                                            |
| [Set type](/ida-actions/hx_settype.md)                                     | `hx:SetType`             |                                                                                                                                                                                                                                            |
| [Show all call decompilations...](/ida-actions/hx_calldecomp.md)           | `hx:CallDecomp`          |                                                                                                                                                                                                                                            |
| [Show all xref decompilations...](/ida-actions/hx_xrefdecomp.md)           | `hx:XrefDecomp`          |                                                                                                                                                                                                                                            |
| [Split expression](/ida-actions/hx_splitexpr.md)                           | `hx:SplitExpr`           |                                                                                                                                                                                                                                            |
| [Split memory access](/ida-actions/hx_splitmemaccess.md)                   | `hx:SplitMemAccess`      |                                                                                                                                                                                                                                            |
| [Split variable](/ida-actions/hx_splitvar.md)                              | `hx:SplitVar`            |                                                                                                                                                                                                                                            |
| [Stock Comments](/ida-actions/hx_stockcomments.md)                         | `hx:StockComments`       |                                                                                                                                                                                                                                            |
| [Structure offset](/ida-actions/hx_strucoffset.md)                         | `hx:StrucOffset`         |                                                                                                                                                                                                                                            |
| [Toggle hex/dec](/ida-actions/hx_hexdec.md)                                | `hx:HexDec`              |                                                                                                                                                                                                                                            |
| [Toggle skippable instructions...](/ida-actions/hx_toggleskippableinsn.md) | `hx:ToggleSkippableInsn` | Toggle skippable instructions.                                                                                                                                                                                                             |
| [Uncollapse declarations](/ida-actions/hx_expanddecls.md)                  | `hx:ExpandDecls`         |                                                                                                                                                                                                                                            |
| [Uncollapse item](/ida-actions/hx_expanditem.md)                           | `hx:ExpandItem`          |                                                                                                                                                                                                                                            |
| [Unmap variable(s)...](/ida-actions/hx_unmapvar.md)                        | `hx:UnmapVar`            |                                                                                                                                                                                                                                            |
| [Unmark as decompiled](/ida-actions/hx_unmarkdecompiled.md)                | `hx:UnmarkDecompiled`    |                                                                                                                                                                                                                                            |
| [Unsplit expression](/ida-actions/hx_unsplitexpr.md)                       | `hx:UnsplitExpr`         |                                                                                                                                                                                                                                            |
| [Unsplit memory access](/ida-actions/hx_unsplitmemaccess.md)               | `hx:UnsplitMemAccess`    |                                                                                                                                                                                                                                            |
| [Unsplit variable](/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-actions/mv_deleteinsn.md)   | `mv:DeleteInsn`           | Delete microcode instruction.  |
| [Display chains...](/ida-actions/mv_displaychains.md)           | `mv:DisplayChains`        |                                |
| [Display ctree...](/ida-actions/mv_displayctree.md)             | `mv:DisplayCTree`         |                                |
| [Display local types...](/ida-actions/mv_displayvdtypes.md)     | `mv:DisplayVdTypes`       |                                |
| [Display microcode graph...](/ida-actions/mv_displaymcgraph.md) | `mv:DisplayMCGraph`       |                                |
| [Edit block comment...](/ida-actions/mv_editblockcmt.md)        | `mv:EditBlockCmt`         |                                |
| [Edit microcode comment...](/ida-actions/mv_editcmt.md)         | `mv:EditCmt`              | Edit comment of microcode line |
| [Generate microcode](/ida-actions/mv_genmicro.md)               | `mv:GenMicro`             |                                |
| [Hide value numbers](/ida-actions/mv_toggledisplayvalnums.md)   | `mv:ToggleDisplayValnums` |                                |
| [Highest maturity level](/ida-actions/mv_highestmicro.md)       | `mv:HighestMicro`         |                                |
| [Insert assertion...](/ida-actions/mv_insertinsn.md)            | `mv:InsertInsn`           | Insert assertion               |
| [Jump to disassembly](/ida-actions/mv_jumptodisasm.md)          | `mv:JumpToDisasm`         |                                |
| [List cross references from...](/ida-actions/mv_jmpxreffrom.md) | `mv:JmpXrefFrom`          |                                |
| [List cross references to...](/ida-actions/mv_jmpxref.md)       | `mv:JmpXref`              |                                |
| [Lower maturity level](/ida-actions/mv_lowermicro.md)           | `mv:LowerMicro`           |                                |
| [Raise maturity level](/ida-actions/mv_raisemicro.md)           | `mv:RaiseMicro`           |                                |
| [Refresh](/ida-actions/mv_refresh.md)                           | `mv:Refresh`              |                                |
| [Short view](/ida-actions/mv_toggleviewshort.md)                | `mv:ToggleViewShort`      |                                |
| [Show addresses](/ida-actions/mv_toggledisplayea.md)            | `mv:ToggleDisplayEA`      |                                |
| [Show number origins](/ida-actions/mv_toggledisplaynumorig.md)  | `mv:ToggleDisplayNumorig` |                                |
| [Structural analysis...](/ida-actions/mv_structuralana.md)      | `mv:StructuralAna`        |                                |


---

# 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/core/decompiler/reference/decompiler-actions.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.
