diff --git a/src/b-st-ext.adoc b/src/b-st-ext.adoc index 577037be4..c5352c24c 100644 --- a/src/b-st-ext.adoc +++ b/src/b-st-ext.adoc @@ -628,7 +628,7 @@ instructions that return the smaller/larger of two operands. These instructions perform the sign extension or zero extension of the least significant 8 bits or 16 bits of the source register. -These instructions replace the generalized idioms `slli rD,rS,(XLEN-) + srli` (for zero extension) or `slli + srai` (for sign extension) for the sign extension of 8-bit and 16-bit quantities, and for the zero extension of 16-bit quantities. +These instructions replace the generalized idioms `slli rd,rs,(XLEN-) + srai` (for sign extension of 8-bit and 16-bit quantities) and `slli + srli` (for zero extension of 16-bit quantities). [%header,cols="^1,^1,4,8"] |===