We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c5416 commit 9d1bdaeCopy full SHA for 9d1bdae
README.md
@@ -216,3 +216,26 @@ for (int i = 0; i < 10; i++) {
216
| <= | `le_s` | `le_s` | `le` | `le` |
217
| > | `gt_s` | `gt_s` | `gt` | `gt` |
218
| >= | `ge_s` | `ge_s` | `ge` | `ge` |
219
+
220
+### Linear Memory
221
222
+`memory` is a sandboxed array of bytes
223
224
+```WebAssembly
225
+(memory $memory 1)
226
+```
227
228
+`load` and `store` are used for reading and writing from `memory`
229
230
231
+(func $load (param $a i32) (result i32)
232
+ (i32.load
233
+ (get_local $a)))
234
235
236
237
+(func $store (param $a i32) (param $b i32)
238
+ (i32.store
239
+ (get_local $a)
240
+ (get_local $b)))
241
0 commit comments