Bit Organization table
Bits | Bytecode | Instruction |
0 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0x00 | nop |
0 | 0 | 0 | 0 | 0 | 1 | 0x01 | invalid |
0 | 0 | 0 | 0 | 1 | 0 | 0x02 | pop |
0 | 0 | 0 | 0 | 1 | 1 | 0x03 | dup |
0 | 0 | 0 | 1 | 0 | 0 | 0x04 | swap |
0 | 0 | 0 | 1 | 0 | 1 | 0x05 | add |
0 | 0 | 0 | 1 | 1 | 0 | 0x06 | sub |
0 | 0 | 0 | 1 | 1 | 1 | 0x07 | mul |
0 | 0 | 1 | 0 | 0 | 0 | 0x08 | div |
0 | 0 | 1 | 0 | 0 | 1 | 0x09 | rem |
0 | 0 | 1 | 0 | 1 | 0 | 0x0A | neg |
0 | 0 | 1 | 0 | 1 | 1 | 0x0B | and |
0 | 0 | 1 | 1 | 0 | 0 | 0x0C | or |
0 | 0 | 1 | 1 | 0 | 1 | 0x0D | not |
0 | 0 | 1 | 1 | 1 | 0 | 0x0E | nand |
0 | 0 | 1 | 1 | 1 | 1 | 0x0F | nor |
0 | 1 | 0 | 0 | 0 | 0 | 0x10 | xor |
0 | 1 | 0 | 0 | 0 | 1 | 0x11 | xnor |
0 | 1 | 0 | 0 | 1 | 0 | 0x12 | shr |
0 | 1 | 0 | 0 | 1 | 1 | 0x13 | shl |
0 | 1 |
0 |
0 | 0 | 0 | 0 | 0 | 0x40 | ld.const null |
0 | 0 | 0 | 1 |
1 | 0x41 | ld.const.i1 true |
0 | 0x42 | ld.const.i1 false |
0 | 0 | 1 | 0 | 0 | 0x44 | ld.const.i8 |
0 | 0 | 1 | 0 | 1 | 0x45 | ld.const.i16 |
0 | 0 | 1 | 1 | 0 | 0x46 | ld.const.i32 |
0 | 0 | 1 | 1 | 1 | 0x47 | ld.const.i64 |
0 | 1 | 0 | 0 | 0 | 0x48 | ld.const.i128 |
0 | 1 | 0 | 0 | 1 | 0x49 | ld.const.iptr |
0 | 1 | 0 | 1 | 0 | 0x4A | ld.const.i<n> |
0 | 1 | 0 | 1 | 1 | 0x4B | ld.const.str |
0 | 1 | 1 | 0 | 0 | 0x4C | ld.field |
0 | 1 | 1 | 0 | 1 | 0x4D | ld.type |
0 | 1 | 1 | 1 | 0 | 0x4E | ld.funcref |
0 | 1 | 1 | 1 | 1 | 0x4F | ld.enumref |
1 | 0 | 0 | 0 | 0 | 0x50 | ld.faultref |
1 | 0 | 0 | 0 | 1 | 0x51 | ld.index |
1 | 0 | 0 | 1 | 0 | 0x52 | ld.arg.0 |
1 | 0 | 0 | 1 | 1 | 0x53 | ld.arg.1 |
1 | 0 | 1 | 0 | 0 | 0x54 | ld.arg.2 |
1 | 0 | 1 | 0 | 1 | 0x55 | ld.arg.3 |
1 | 0 | 1 | 1 | 0 | 0x56 | ld.local.<immi8> |
1 | 0 | 1 | 1 | 1 | 0x57 | ld.local.<immi16> |
1 | 1 | 0 | 0 | 0 | 0x58 | ld.length |
1 |
0 | 1 | 1 | 0 | 0 | 0x6C | st.field |
1 | 0 | 0 | 0 | 1 | 0x69 | st.index |
1 | 0 | 1 | 1 | 0 | 0x76 | st.local.<immu8> |
1 | 0 | 1 | 1 | 1 | 0x77 | st.local.<immu16> |
1 | 0 |
0 | 0 |
0 | 0 | 0 | 0 | 0x80 | call.static |
0 | 0 | 0 | 1 | 0x81 | call.virt |
0 | 0 | 1 | 0 | 0x82 | tail.call |
0 | 0 | 1 | 1 | 0x83 | ret |
0 | 1 | 0 | 0 | 0x84 | throw |
0 | 1 | 0 | 1 | 0x85 | break |
0 | 1 |
0 | 0 | 0 | 0 | 0x80 | jmp |
0 | 0 | 0 | 1 | 0x81 | jmp.if.zero |
0 | 0 | 1 | 0 | 0x82 | jmp.if.nzero |
0 | 0 | 1 | 1 | 0x83 | jmp.if.eq |
0 | 1 | 0 | 0 | 0x84 | jmp.if.neq |
0 | 1 | 0 | 1 | 0x85 | jmp.if.gr |
0 | 1 | 1 | 0 | 0x86 | jmp.if.gre |
0 | 1 | 1 | 1 | 0x87 | jmp.if.ls |
1 | 0 | 0 | 0 | 0x88 | jmp.if.lse |
1 | 0 |
0 | 0 | 0 | 1 | 0xA1 | check.zero |
0 | 0 | 1 | 0 | 0xA2 | check.nzero |
0 | 0 | 1 | 1 | 0xA3 | check.eq |
0 | 1 | 0 | 0 | 0xA4 | check.neq |
0 | 1 | 0 | 1 | 0xA5 | check.gr |
0 | 1 | 1 | 0 | 0xA6 | check.gre |
0 | 1 | 1 | 1 | 0xA7 | check.ls |
1 | 0 | 0 | 0 | 0xA8 | check.lse |
1 | 1 |
0 | 0 | 0 | 1 | 0xB1 | conv i1 |
0 | 0 | 1 | 0 | 0xB2 | conv i8 |
0 | 0 | 1 | 1 | 0xB3 | conv i16 |
0 | 1 | 0 | 0 | 0xB4 | conv i32 |
0 | 1 | 0 | 1 | 0xB5 | conv i64 |
0 | 1 | 1 | 0 | 0xB6 | conv i128 |
0 | 1 | 1 | 1 | 0xB7 | conv iptr |
1 | 0 | 0 | 0 | 0xB8 | conv i<n> |
1 | 1 |
0 | 0 | 0 | 0 | 0 | 0 | 0xC0 | src.offset.global |
0 | 0 | 0 | 0 | 0 | 1 | 0xC1 | src.offset.rel <immi8> |
0 | 0 | 0 | 0 | 1 | 0 | 0xC2 | src.offset.rel <immi16> |
1 |
0 | 0 | 0 | 0 |
0 | 0xE0 | flag.check_overflow off |
1 | 0xE1 | flag.check_overflow on |
0 | 0 | 0 | 1 |
0 | 0xE2 | flag.check_null off |
1 | 0xE3 | flag.check_null on |