diff --git a/Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml b/Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml index 70f219d2f6..4921d8d051 100644 --- a/Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml +++ b/Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml @@ -926,7 +926,7 @@ This is a truncation operator that understands the endianess of the data. Input1 indicates the number of least significant bytes of input0 to be thrown away. Output is then filled with any remaining bytes of input0 up to the size of output. If the size of -output is smaller than the size of input0 plus the constant input1, +output is smaller than the size of input0 minus the constant input1, then the additional most significant bytes of input0 will also be truncated. diff --git a/GhidraDocs/languages/html/pcodedescription.html b/GhidraDocs/languages/html/pcodedescription.html index 6f038f2318..72f367c268 100644 --- a/GhidraDocs/languages/html/pcodedescription.html +++ b/GhidraDocs/languages/html/pcodedescription.html @@ -625,7 +625,7 @@ This is a truncation operator that understands the endianess of the data. Input1 indicates the number of least significant bytes of input0 to be thrown away. Output is then filled with any remaining bytes of input0 up to the size of output. If the size of -output is smaller than the size of input0 plus the constant input1, +output is smaller than the size of input0 minus the constant input1, then the additional most significant bytes of input0 will also be truncated.