summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4f841a971..0d937a409 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,16 @@ For example, try
$ bin/asm2wasm test/hello_world.asm.js
```
+That input file contains
+
+```
+ function add(x, y) {
+ x = x | 0;
+ y = y | 0;
+ return x + y | 0;
+ }
+```
+
You should see something like this:
![example output](https://raw.github.com/WebAssembly/wasm-emscripten/master/media/example.png)