News for hackers. Stuff that matters.
Re:Why did the original code for FIND.COM use lop as a label... by geocar on Thursday April 16, 2015 @04:53PM (#9390681)
Then why is it `lop:` instead of `lop`?

Doesn't the colon mean label?

Re:Why did the original code for FIND.COM use lop as a label... by hermanhermitage on Thursday April 16, 2015 @06:00PM (#9390983)
The ':' 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.

Re:Why did the original code for FIND.COM use lop as a label... by RodgerTheGreat on Thursday April 16, 2015 @05:28PM (#9390833)
The post says the colon is optional. Seems like a poorly thought-out syntax.
Re:Why did the original code for FIND.COM use lop as a label... by geocar on Saturday April 18, 2015 @10:34AM (#9399569)
Okay, 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.