Result

WA

Duration

560ms

Code [DL]

bits 16
org 0x0ff

mov ah, 9
mov dx, msg
int 0x21

mov ah, 0x4C
mov al, 0
int 0x21

msg db "Hello World!$"

stdin

19 34 58
61 75 51
47 47 89
78 01 40

stdout

stderr

/tmp/code.wat:1:1: error: unexpected token "bits", expected a module field or a module.
bits 16
^^^^
/tmp/code.wat:1:6: error: unexpected token 16, expected EOF.
bits 16
     ^^
fs.js:646
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/tmp/code.wasm'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at Object.<anonymous> (/root/wasm-cli.js:8:17)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)
rm: can't remove '/tmp/code.wasm': No such file or directory

strace