1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #1326 new

intel flavor assembly/asm highlighting broken

Francisco Lopes
created an issue

The following code

import pygments.lexers
import pygments.formatters
formatter_class = pygments.formatters.Terminal256Formatter
formatter = formatter_class(style='algol_nu')
lexer = pygments.lexers.get_lexer_for_filename('.asm')
source = 'mov\tDWORD PTR [rax],edx'
print(pygments.highlight(source, lexer, formatter))

Results in

This issue was originally reported at https://github.com/cyrus-and/gdb-dashboard/issues/53.

Comments (0)

  1. Log in to comment