nop: Wasm text instruction
nop stands for no-operation. It literally does nothing.
nop stands for no-operation. It literally does nothing.
(module
(func (export "do_nothing")
nop
)
)
const url = "{%wasm-url%}";
await WebAssembly.instantiateStreaming(fetch(url)).then((result) => {
result.instance.exports.do_nothing();
});
nop
| Instruction | Binary opcode |
|---|---|
nop |
0x01 |
This page was last modified on by MDN contributors.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.