Skip to content

Commit 006ec42

Browse files
Update bytecode-initial.md
1 parent 6d7c928 commit 006ec42

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

notes/bytecode-initial.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -175,21 +175,24 @@ struct Module {
175175
}
176176
```
177177

178-
|any |tag| | |
179-
|---------|---|-----------------------|-----------------------------|
180-
|undefined| 0| | |
181-
|null | 1| | |
182-
|false | 2| | |
183-
|true | 3| | |
184-
|number | 4|u64 | |
185-
|string | 5|String | |
186-
|bigint+ | 6|BigUInt | |
187-
|bigint- | 7|BigUInt | |
188-
|object | 8|Object | |
189-
|array | 9|Array<Any> | |
190-
|local_ref| 10|u32 |consts[i] |
191-
|arg_ref | 11|u32 |args[i] |
192-
|function | 12|Function |the last constant is a return|
178+
|any |tag| | |
179+
|--------------|---|-----------------------|-----------------------------|
180+
|undefined | 00| | |
181+
|null | 01| | |
182+
|false | 02| | |
183+
|true | 03| | |
184+
|number | 04|u64 | |
185+
|string | 05|String | |
186+
|bigint+ | 06|BigUInt | |
187+
|bigint- | 07|BigUInt | |
188+
|object | 08|Object | |
189+
|array | 09|Array<Any> | |
190+
|function | 0A|Function |the last constant is a return|
191+
|**operators:**| | | |
192+
|local_ref | 10|u32 |consts[i] |
193+
|arg_ref | 11|u32 |args[i] |
194+
195+
We will extend the command set in the future.
193196

194197
## Architecture
195198

0 commit comments

Comments
 (0)