docs: Updated description of ULP FSM shift operations

This commit updates the documentation for ULP FSM LSH and RSH
operations.

Closes https://github.com/espressif/esp-idf/issues/8831
pull/9840/head
Sudeep Mohanty 2022-09-07 14:13:05 +02:00
rodzic 12369a5faf
commit 320f17550a
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -281,6 +281,9 @@ The detailed description of all instructions is presented below:
**Description** **Description**
The instruction does a logical shift to left of the source register by the number of bits from another source register or a 16-bit signed value and stores the result to the destination register. The instruction does a logical shift to left of the source register by the number of bits from another source register or a 16-bit signed value and stores the result to the destination register.
.. note::
Shift operations which are greater than 15 bits will have an undefined result.
**Examples**:: **Examples**::
1: LSH R1, R2, R3 // R1 = R2 << R3 1: LSH R1, R2, R3 // R1 = R2 << R3
@ -316,6 +319,9 @@ The detailed description of all instructions is presented below:
**Description** **Description**
The instruction does a logical shift to right of a source register by the number of bits from another source register or a 16-bit signed value and stores the result to the destination register. The instruction does a logical shift to right of a source register by the number of bits from another source register or a 16-bit signed value and stores the result to the destination register.
.. note::
Shift operations which are greater than 15 bits will have an undefined result.
**Examples**:: **Examples**::
1: RSH R1, R2, R3 // R1 = R2 >> R3 1: RSH R1, R2, R3 // R1 = R2 >> R3