3 ms·
Then why is it `lop:` instead of `lop`? Doesn't the colon mean label?
by geocar 12y ago
Then why is it `lop:` instead of `lop`?
Doesn't the colon mean label?
- RodgerTheGreat 12y agoThe post says the colon is optional. Seems like a poorly thought-out syntax.
- geocar 12y agoOkay, so maybe "lop:ret" and "lop ret" can be parsed the same (agree about the poorly thought-out syntax), but I don't see why "loop:ret" needs to be parsed as "loop ret" unless the colon is actually whitespace in masm.
- hermanhermitage 12y agoThe ':' is optional when followed by a directive. "Loop" is also a valid label on at least say MASM 5.0, just need to use /w0 to suppress the warning.