Skip to content

Buristan/vim-syntax-dynasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynASM Syntax for Vim

Syntax file and other settings for DynASM.

Install

Can be installed via Vim add-in manager such as Plug, Vundle or Pathogen.

Usage

Once the files are installed the syntax highlighting will be automatically enabled anytime you edit a .dasc file.

Also global variable g:DascArch is set to the name of the corresponding CPU architecture:

  • "x86"
  • "x64"
  • "arm"
  • "arm64"
  • "mips"
  • "mips64"
  • "ppc"

and can be used for your own needs. If architecture is unknown variable contains an empty string.

If you want to create your own syntax groups declare them as contained to @dascExtra cluster.

Syntax highlighting

Syntax highlighting for DynASM supports the following DynASM arches:

X86 and X64

For these architectures syntax file is adapted from Shirk/vim-gas repository. It looks like: Obligatory screenshot

ARM

For this architecture syntax file is adapted from ARM9/arm-syntax-vim repository. It looks like: Obligatory screenshot

AARCH64 (a.k.a arm64)

For this architecture syntax file is adapted from compnerd/arm64asm repository. It looks like: Obligatory screenshot

MIPS and MIPS64

For these architectures syntax file is adapted from harenome/vim-mipssyntax repository. It looks like: Obligatory screenshot

PPC

For this architecture syntax file is adapted from gerard/dotfiles repository. It looks like: Obligatory screenshot

Feedback

Please report bugs or asked questions at issues. Pull requests are welcome!

See also

You may be interested in after syntax extension for LuaJIT DynASM highlighting.

About

DynASM (by Mike Pall) Syntax for Vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published