diff --git a/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml b/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml index 7a8d2f09a4..9a0586612a 100644 --- a/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml +++ b/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml @@ -1560,9 +1560,10 @@ literal characters of the mnemonic. In the above example, “bra” is treated as literal characters in the resulting display string followed immediately, with no intervening spaces, by the display string of the local -symbol cc (resulting in an output like braeq or brane). Thus, even though cc is attached to the initial part of the mnemonic "bra", -the whole constructor actually has three operands, denoted by the three -identifiers cc, op1, +symbol cc (resulting in an output like braeq or brane). +Thus, even though cc is attached to the initial part of +the mnemonic "bra", the whole constructor actually has three operands, denoted +by the three identifiers cc, op1, and op2. diff --git a/GhidraDocs/languages/html/sleigh_constructors.html b/GhidraDocs/languages/html/sleigh_constructors.html index 2591f07445..d13cc5064c 100644 --- a/GhidraDocs/languages/html/sleigh_constructors.html +++ b/GhidraDocs/languages/html/sleigh_constructors.html @@ -232,8 +232,8 @@ no such requirement.

7.3.2. The '^' character

-The ‘^’ character in the display section is used to separate -identifiers from other characters where there shouldn’t be white space +The ‘^’ character in the display section is used to concatenate +identifiers and character literals without inserting additional whitespace in the disassembly display. This can be used in any manner but is usually used to attach display characters from a local symbol to the literal characters of the mnemonic. @@ -247,8 +247,10 @@ literal characters of the mnemonic. In the above example, “bra” is treated as literal characters in the resulting display string followed immediately, with no intervening spaces, by the display string of the local -symbol cc. Thus the whole constructor actually -has three operands, denoted by the three +symbol cc (resulting in an output like +braeq or brane). Thus, even though cc +is attached to the initial part of the mnemonic "bra", the whole constructor +actually has three operands, denoted by the three identifiers cc, op1, and op2.