diff options
author | Quentin Rameau <quinq@fifth.space> | 2017-01-20 17:21:53 +0100 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-20 11:25:46 -0500 |
commit | 9fbb276e37125d1e14abbc854b9ad1d7c29f90e0 (patch) | |
tree | e831441db6079e1e900e9ad37d86ec5cc4684900 | |
parent | 2b4ece6f99c18df090a127ec20c60ff05cbc0705 (diff) | |
download | roux-9fbb276e37125d1e14abbc854b9ad1d7c29f90e0.tar.gz |
change 'b' and 'h' ordering in IL doc
-rw-r--r-- | doc/il.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/il.txt b/doc/il.txt index 865b81f..4fe55a5 100644 --- a/doc/il.txt +++ b/doc/il.txt @@ -109,7 +109,7 @@ starting with the sigil `?`. `bnf BASETY := 'w' | 'l' | 's' | 'd' # Base types - EXTTY := BASETY | 'h' | 'b' # Extended types + EXTTY := BASETY | 'b' | 'h' # Extended types The IL makes very minimal use of types. By design, the types used are restricted to what is necessary for unambiguous @@ -125,8 +125,8 @@ by an integer type sufficiently wide to represent all memory addresses (e.g. `l` on x64). Temporaries in the IL can only have a basic type. -Extended types contain base types and add `h` (half word) -and `b` (byte), respectively for 16 bits and 8 bits integers. +Extended types contain base types plus `b` (byte) and `h` +(half word), respectively for 8 bits and 16 bits integers. They are used in <@ Aggregate Types> and <@ Data> definitions. For C interfacing, the IL also provides user-defined aggregate |