sponsor Vim development Vim logo Vim Book Ad

asm8051.vim : Syntax for 8051 Assembly (some IAR specifics)

 script karma  Rating 8/5, Downloaded by 873  Comments, bugs, improvements  Vim wiki

created by
Keith Richeson
 
script type
syntax
 
description
To my surprise I could not find a syntax file for 8051 assembly.  So I started with vimscript#966 (which was apparently derived from the asm68k syntax) and derived this syntax file.

The assembler directives and such are IAR specific b/c that is the toolset that I am currently using.  Feel free to expand with support for Keil and/or SDCC.
 
install details
Place in the $VIMRUNTIME/syntax directory and set up the appropriate filetype commands (filetype.vim or other methods) to tell vim to use asm8051 syntax for your 8051 assembly files.
 

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
asm8051.vim 0.1 2006-09-22 7.0 Keith Richeson Initial upload
ip used for rating: 3.21.233.41

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.
   
Vim at Github