diff --git a/asm.js b/asm.js index 5041d3f..4748b02 100644 --- a/asm.js +++ b/asm.js @@ -161,6 +161,7 @@ const opcodes = { "i32.store": 0x36, "i32.store8": 0x3a, "i32.const": 0x41, + "i64.const": 0x42, "i32.eqz": 0x45, "i32.eq": 0x46, "i32.ne": 0x47, @@ -175,6 +176,8 @@ const opcodes = { "i32.add": 0x6a, "i32.sub": 0x6b, "i32.mul": 0x6c, + "i32.div_s": 0x6d, + "i32.rem_s": 0x6f, "i32.and": 0x71, "i32.or": 0x72, "i32.xor": 0x73,