It was always directive, documented as: http://z00m128.github.io/sjasmplus/d...on.html#po_end
(it's more than 10 years old paragraph)The assembler will stop at this point. The pseudo-op END does NOT work in the beginning of line (even with --dirbol).
But it didn't work as documented, so I fixed it around v1.11 or v1.12 to work as the docs describe.
*Today* I'm not sure if that was the smartest idea, maybe I should have kept the dirEND() as it was, and change the documentation to describe what the code really does (was just setting "start" address for some other commands like savetap/savesna/...).
Nice, so you can use whatever you like and you have options.в другом, хорошем, компиляторе - пофиг на расположение.
But JFYI, if you are talking about https://github.com/sjasmplus/sjasmplus ... it has the same quote in the documentation. So if the END doesn't stop assembling in it, in my view it is a bug (I'm used to treat docs as source of truth, so for me it was clearly bug in the code, but as I wrote, with the experience I collected in recent months, I'm not that sure about it, changing the docs post-fact may be sometimes better solution, than "fixing bug" in the code).
The examples you posted work as intended.
(`END` at beginning of line is label, after whitespace it's keyword, the --dirbol does NOT enable END at beginning of line (fully fixed in 1.14.3) ... plus add the syntax ambiguity of sjasmplus, where every directive can be prefixed with single dot, so the same rules apply to ".END" string, beginning of line = local label, after white space = stopping assembler)





Ответить с цитированием
Размещение рекламы на форуме способствует его дальнейшему развитию 
