Path: blob/main/files/en-us/webassembly/reference/numeric/right_rotate/index.md
6532 views
------{{WebAssemblySidebar}}
The rotr instructions, short for rotate-right, are used for performing a bitwise right-rotate.
{{EmbedInteractiveExample("pages/wat/rotr.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
i32.rotr | 0x78 |
i64.rotr | 0x8a |