memory.size
NONE |
i32 | The size of memory in pages. |
;; Create memory 1 page in size and can grow to 20 pages (memory 1 20) ;; Create function (func $getMemorySize (result i32) ;; Get the number of pages in memory memory.size ;; The stack contains an i32 value of 1 page )