Global set

Die global.set-Anweisung legt die Werte einer globalen Variable fest.

Probieren Sie es aus

Syntax

wasm
;; load the number 2 onto the stack
i32.const 2

;; store the number 2 in the variable $val
global.set $val
Anweisung Binärer Opcode
global.set 0x24