Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/webassembly/reference/variables/global_get/index.md
6532 views
---
title: Global get slug: WebAssembly/Reference/Variables/Global_get
---

{{WebAssemblySidebar}}

The global.get instruction loads the value of a global variable onto the stack.

{{EmbedInteractiveExample("pages/wat/global_get.html", "tabbed-standard")}}

Syntax

;; load the value of a global variable onto the stack global.get $val
InstructionBinary opcode
global.get0x23