nop: Wasm text instruction
nop stands for no-operation. It literally does nothing.
nop stands for no-operation. It literally does nothing.
tabbed-shorter
```wat interactive-example (module (func (export "do_nothing") nop ) )
```js interactive-example
const url = "{%wasm-url%}";
await WebAssembly.instantiateStreaming(fetch(url)).then((result) => {
result.instance.exports.do_nothing();
});
Syntax
nop
| Instruction | Binary opcode |
|---|---|
nop |
0x01 |