From aa8a5ae8f80e6023f6be03f5adbd91656b9def24 Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Thu, 10 Nov 2016 10:32:19 +0100 Subject: Fix a typo and an error (#866) * Fix typo on "semantics" * Fix encoding for 'end', which should be 0x0b and not 0x0f. --- TextFormat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TextFormat.md') diff --git a/TextFormat.md b/TextFormat.md index 4c27ce3..29d6880 100644 --- a/TextFormat.md +++ b/TextFormat.md @@ -9,7 +9,7 @@ modules. # Linear bytecode -WebAssembly function bodies encode bytecode instructions which have specified canonical opcode names. A linear presentation of these sequences of instructions allows a direct human-readable order-preserving presentation of the binary format. This format is suitable for opcode by opcode inspection of a WebAssembly program and can readily be related to the [sematics](Semantics.md) of the format. +WebAssembly function bodies encode bytecode instructions which have specified canonical opcode names. A linear presentation of these sequences of instructions allows a direct human-readable order-preserving presentation of the binary format. This format is suitable for opcode by opcode inspection of a WebAssembly program and can readily be related to the [semantics](Semantics.md) of the format. Here is an example function illustrated in C++, binary, and text (linear assembly bytecode): -- cgit v1.2.3