nop: Wasm-Textanweisung
nop steht für keine Operation. Es tut buchstäblich nichts.
Probieren Sie es aus
(module (func (export "do_nothing") nop ) ) const url = "{%wasm-url%}"; await WebAssembly.instantiateStreaming(fetch(url)).then((result) => { result.instance.exports.do_nothing(); }); Syntax
wat
nop | Anweisung | Binärer Opcode |
|---|---|
nop | 0x01 |