intel flavor assembly/asm highlighting broken

Issue #1326 new
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