-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0cccbb
commit 761bd78
Showing
4 changed files
with
76 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
pub const NOP: u8 = 0x01; | ||
pub const END: u8 = 0x0B; | ||
pub const LOCAL_GET: u8 = 0x20; | ||
pub const LOCAL_SET: u8 = 0x21; | ||
pub const GLOBAL_GET: u8 = 0x23; | ||
pub const GLOBAL_SET: u8 = 0x24; | ||
pub const I32_LOAD: u8 = 0x28; | ||
pub const I32_STORE: u8 = 0x36; | ||
pub const I32_CONST: u8 = 0x41; | ||
pub const I32_ADD: u8 = 0x6A; | ||
pub const I32_MUL: u8 = 0x6C; | ||
pub const I32_DIV_S: u8 = 0x6D; | ||
pub const I32_DIV_U: u8 = 0x6E; | ||
pub const I32_REM_S: u8 = 0x6F; | ||
pub const I32_CLZ: u8 = 0x67; | ||
pub const I32_CTZ: u8 = 0x68; | ||
pub const I32_POPCNT: u8 = 0x69; | ||
pub const I32_REM_U: u8 = 0x70; | ||
pub const I32_AND: u8 = 0x71; | ||
pub const I32_OR: u8 = 0x72; | ||
pub const I32_XOR: u8 = 0x73; | ||
pub const I32_SHL: u8 = 0x74; | ||
pub const I32_SHR_S: u8 = 0x75; | ||
pub const I32_SHR_U: u8 = 0x76; | ||
pub const I32_ROTL: u8 = 0x77; | ||
pub const I32_ROTR: u8 = 0x78; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.