Opinion may vary whether the use of square brackets as pointer addition operator in C is a good design or not - at least there it has some consistency. But applying it to assembly language resulted in a dubious syntax which some people considered confusing and ugly. Probably for this reason TASM got rid of this feature in its "ideal" mode. fasm, as it was inspired by TASM's "ideal", followed the same route and used square brackets in a single and unequivocal role of a pointer operator (I think NASM did the same?).
|