Skip to content

Commit

Permalink
docs: Updated description of ULP FSM shift operations
Browse files Browse the repository at this point in the history
This commit updates the documentation for ULP FSM LSH and RSH
operations.

Closes #8831
  • Loading branch information
sudeep-mohanty committed Sep 7, 2022
1 parent 8c06bca commit 445b1c0
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
Original file line number Diff line number Diff line change
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 445b1c0

Please sign in to comment.