Skip to content

Commit

Permalink
Merge branch 'docs/update_ulp_shift_ops_description' into 'master'
Browse files Browse the repository at this point in the history
docs: Updated description of ULP FSM shift operations

Closes IDFGH-7237

See merge request espressif/esp-idf!20025
  • Loading branch information
sudeep-mohanty committed Sep 12, 2022
2 parents e9ef5e9 + 445b1c0 commit 751bca4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/en/api-reference/system/ulp_instruction_set.rst
Expand Up @@ -281,6 +281,9 @@ The detailed description of all instructions is presented below:
**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.

.. note::
Shift operations which are greater than 15 bits will have an undefined result.

**Examples**::

1: LSH R1, R2, R3 // R1 = R2 << R3
Expand Down Expand Up @@ -316,6 +319,9 @@ The detailed description of all instructions is presented below:
**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.

.. note::
Shift operations which are greater than 15 bits will have an undefined result.

**Examples**::

1: RSH R1, R2, R3 // R1 = R2 >> R3
Expand Down

0 comments on commit 751bca4

Please sign in to comment.