Path: blob/main/files/en-us/webassembly/reference/numeric/left_rotate/index.md
6520 views
------{{WebAssemblySidebar}}
The rotl instructions, short for rotate-left, are used for performing a bitwise left-rotate.
{{EmbedInteractiveExample("pages/wat/rotl.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
i32.rotl | 0x77 |
i64.rotl | 0x89 |