END start
at the end of that example. I ALWAYS forget that...*sigh*...:)
--
"Have you ever danced with the Devil by the pale moonlight?
I ask that of all my prey. I just like the sound of it..." - the Joker
************************************************************************
Damon Gallaty E-mail: dg...@cad.gatech.edu
I can't really answer for the '88 standard, but KotH behaves as follows:
1) 2*3-1*3 = 6-3 = 3. That is, normal order of operation applies.
Parenthesis are OK, too.
2) Under KotH, EQU does NOT work like text substitution. It works like
parenthesized text substiution.
3) if "TWO EQU 3-1", then, under 2) above, "TWO-TWO" is "(3-1)-(3-1)" so
you get zero.
4) Forward labels are allowed in KotH. KotH is a two pass assembler; the
first pass it determines the location of each label, or the expression
that an EQU becomes. The second pass it resolves all expressions. If
you try to use EQUs recursively, it will spot that and let you know.
-Bill (w...@iwarp.intel.com)