Commit afe414e2 authored by Roland Levillain's avatar Roland Levillain

Adjust the documentation regarding operators.

	* doc/havm.texi (HIR): Here.
parent 845a4322
......@@ -42,7 +42,7 @@ This manual is for @acronym{HAVM} (version @value{VERSION},
Copyright @copyright{} 2003 Robert Anisko.
Copyright @copyright{} 2003-2006 EPITA Research and Development
Copyright @copyright{} 2003-2006, 2014 EPITA Research and Development
Laboratory (LRDE)
@quotation
......@@ -251,8 +251,10 @@ Stm ::= "move" Exp Exp
| "label" Label Literal
.
Oper ::= "add" | "sub" | "mul" | "div" | "mod"
Oper ::= "add" | "sub" | "mul" | "div"
| "and" | "or" | "lshift" | "rshift" | "arshift" | "xor"
Relop ::= "eq" | "ne" | "lt" | "gt" | "le" | "ge"
| "ult" | "ule" | "ugt" | "uge"
Label ::= Ident
Temp ::= fp | rv | sp | Ident
fp ::= "fp" | "$fp"
......@@ -266,7 +268,7 @@ In addition, the following alternative syntax for operators is
supported, but deprecated.
@example
Oper ::= "(+)" | "(-)" | "(*)" | "(/)" | "(%)"
Oper ::= "(+)" | "(-)" | "(*)" | "(/)"
Relop ::= "(=)" | "(<>)" | "(<)" | "(>)" | "(<=)" | "(>=)"
@end example
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment