This is the greatest syntax definition of All Time
MIT License
This is the greatest syntax definition of All Time
Sublime Text syntax definition for x86 assembly (GAS/AT&T syntax)
I do not have plans to support any other syntax type (such as Intel). Sufficient packages already exist.
Covers a lot of instructions for a lot of different cpuid flags, even if you don't have them.
Purpose: I couldn't find any good ones online, so I made one myself for my ECE391 class at UIUC. None of the ones I did find did a good job highlighting the right instructions. This is not to say that this definition is perfect, but for the purposes of your college level systems programming class, it will do just fine.
I have included some test files in the 'test/' directory of this package. Look around if you like. I even included a gdb disas dump, which I think is a good test for efficacy.
Ports to other editors
This has become somewhat of a parent-project for various ports, so here's a list of links to ports I've made:
Installation
Manual Install
git pull
in the 'Packages' directory.Sublime should automatically take care of the syntax highlighting, so there's no need to restart.
If you feel the directions are unclear, please tell me. Or tell Dennis, so we can make fun of you later.
Pull requests and/or bug reports are always welcome.
32
/64
) and type the call you want (e.g. mmap
, read
), press tab/enter, and let the autocomplete do the rest.
64mmap
, enter, and it expands to #define SYS_MMAP $9
.skel32
or skel64
, autocomplete. Compiles with gcc -nostdlib
.newframe32
or newframe64
.Demo on gdb disassembly log: