Implement some arithmetic instructions in WebAssembly