Size
The size
instruction, returns the amount of pages the memory instance currently has, each page is sized 64KiB.
Syntax
;; get the amount of pages the memory has
memory.size
Instruction | Binary opcode |
---|---|
memory.size |
0x3f |
The size
instruction, returns the amount of pages the memory instance currently has, each page is sized 64KiB.
;; get the amount of pages the memory has
memory.size
Instruction | Binary opcode |
---|---|
memory.size |
0x3f |