74

I would like to see x86 asm (Intel syntax) supported as a highlighted language.

It is already supported by highlight.js as x86asm, and there are more than 15,000 questions in the tag alone and thousands more in variants such as . The tag is active with a rich variety of beginner and advanced questions and the tag wiki is a work of art curated by SO titan Peter Cordes among others.

That's more questions than some languages which are already supported, e.g., with ~7,000 questions.

Finally, x86asm has a very simple syntax, so if the highlight.js implementation is good it should be a fairly lightweight thing to include.

7
  • 5
    It's an old problem, I'll always contribute to the cause whenever I can.
    – anastaciu
    Commented Oct 25, 2021 at 22:21
  • 2
    @anastaciu - yes, but there's hope now after the switch to highlight.js since it supports x86asm out of the box, so it's just a matter of SO "flipping the flag" (so to speak).
    – BeeOnRope
    Commented Oct 25, 2021 at 22:41
  • 3
    I fully support this, many times I have looked for ASM-related questions and solutions to problems regarding LLVM, Specific CPU instructions, and registers. Syntax highlighting would be a very welcome addition. Commented Oct 25, 2021 at 22:55
  • I like the idea, but would this apply to only Intel format assembly, or to AT&T format assembly? There are many questions with AT&T formatted assembly that lack the att tag. Would this create a demand for syntax highlighting the assembly languages of other CPUs? Commented Oct 26, 2021 at 0:18
  • 3
    @1201ProgramAlarm - highlight.js only supports Intel syntax, which is the default choice in any case among people who frequent the x86 tag.
    – BeeOnRope
    Commented Oct 26, 2021 at 0:21
  • 3
    From a comment to the question that @anastaciu linked, Peter Cordes has posted an answer arguing precisely the same thing on the MSE announcement of the switch to highlight.js. So, if you're upvoting this, you should probably be upvoting that, too. Commented Oct 26, 2021 at 3:50
  • 2
    Wholeheartedly agree - this would be a fantastic addition. Commented Oct 26, 2021 at 15:53

0

You must log in to answer this question.

Browse other questions tagged .