sponsor Vim development Vim logo Vim Book Ad

asmx86_64 : Syntax highlighting for x86_64 asm including gcc preprocessor

 script karma  Rating 20/7, Downloaded by 1459    Comments, bugs, improvements  Vim wiki

created by
Florian Delizy
 
script type
syntax
 
description
This syntax is especially adapted to working in the Linux kernel (x86_64)

I am still working on it ... so this is a first version enjoy
 
install details
copy into your ~/.vim/syntax/ directory

to use it, just type :

set syntax=asmx86_64
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
asmx86_64.vim 0.5 2006-12-22 7.0 Florian Delizy Added mm registers and made the syntax usable for objdump output as well
asmx86_64.vim 0.4 2006-10-02 7.0 Florian Delizy Included all mnemonics (with their size suffix)
Fixed the .macro colouring...
asmx86_64.vim 0.3b 2006-09-12 6.0 Florian Delizy Close to completion, just needs now to add xmm and mmx registers, some instructions, and to deal with the #ifdef / '#' comment problem
asmx86_64.vim 0.2b 2006-09-12 6.0 Florian Delizy Fixed comments syntax: added a 'hack' so that # comment are correctly highted (they are highlighted as long as # is folowed by a space
Added %regs and regs (still needs mmx and xmm regs

This version should work with vim 5.7+ (if some of you try it on old version, please let me know).

knwon bugs:

'#' comments only works if followed by a space e.g.:
# my comment (will be highlighted correctly)
#my comment will not ...

gcc preproc directives works if not followed by a space e.g.:
#ifdef will be highlighted correctly
# ifdef will not ...

Still working on this problem
asmx86_64.vim 0.1a 2006-09-11 7.0 Florian Delizy Initial upload
ip used for rating: 54.80.43.90

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo