Difference between revisions of "WebAssembly/Instructions"
From Lazarus wiki
Jump to navigationJump to searchm (→Instructions) |
m (→Instructions) |
||
Line 8: | Line 8: | ||
!Semantic | !Semantic | ||
!Notes | !Notes | ||
+ | |- | ||
+ | !colspan=4|Control Instructions | ||
|- | |- | ||
|'''unreachable''' | |'''unreachable''' | ||
− | | | + | |$00 |
| | | | ||
| | | | ||
|- | |- | ||
|'''nop''' | |'''nop''' | ||
+ | |$01 | ||
| | | | ||
| | | | ||
+ | |- | ||
+ | |'''block''' | ||
+ | |0x02 ''blocktype'' ... 0x0B | ||
| | | | ||
+ | | 0x0B is '''end''' | ||
|- | |- | ||
|'''br''' ''labelidx'' | |'''br''' ''labelidx'' |
Revision as of 22:03, 10 September 2019
This page is created because it's annoying to constantly jump around the official WebAssembly documentation.
The page requires careful review as official specs are updated
Instructions
Instruction | Byte Code | Semantic | Notes |
---|---|---|---|
Control Instructions | |||
unreachable | $00 | ||
nop | $01 | ||
block | 0x02 blocktype ... 0x0B | 0x0B is end | |
br labelidx | |||
br_if labelidx | |||
br_table vec(labelidxI) labelidx | |||
return | |||
call funcidx | |||
call_indirect typeuse |
See Also
- WebAssembly
- http://webassembly.github.io/spec/core/intro/index.html - official documentation