ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

E100 Assembly

by ahouse101 ALL

Provides syntax highlighting and snippets for E100 assembly language.

Details

Installs

  • Total 494
  • Win 326
  • Mac 80
  • Linux 88
May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30
Windows 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

E100 assembly for Sublime Text

This is a Sublime Text package that provides syntax highlighting and snippets for E100 assembly language. I'm currently working on building a simple preprocessor to make programming in E100 assembly even easier.s

Syntax highlighting will be triggered for any file ending in *.e, *.easm, or *.e100, and will look something like this, depending on your theme:

Also, due to the way I've written the syntax definition file, Sublime won't highlight a statement until it's valid, so you know when you've written something that will assemble:

New:

In the latest release, there are now snippets! Just type any of the opcodes (or 'data' or 'import') and select the option in the menu that has (with hints) after the name. For instance, to get a snippet for the add opcode, you would type add, then from the autocomplete dropdown, you'd select add (with hints). The autofill menu will also show some brief text describing the command. Once the snippet is inserted, each argument will have some text in place that describes what should go there, and you can use the tab and shift+tab keys to move through the snippet.

Installation Instructions

Via Package Control (recommended)

You can now get E100 assembly support directly through Package Control! Installing through package control will also keep the extension up-to-date, such as when syntax highlighting is improved or snippets are added.

  1. Install Package Control (if you haven't already)
  2. Run the “Package Control: Install Package” command
    1. Use Ctrl+Shift+P to open the command palette.
    2. Type pcip and press Enter to run the command.
  3. Search for and install the E100 Assembly plugin.
  4. Restart Sublime Text if syntax highlighting doesn't start automatically.

Manually (with git)

NOTE: If you do it this way, there's no auto-update, and you'll have to use git pull to keep the package up-to-date.

Clone the repository in your Sublime Text “Packages” directory:

git clone https://github.com/ahouse101/SublimeE100Assembly.git

For Sublime Text 3, the “Packages” directory is located at:

  • OS X: ~/Library/Application Support/Sublime Text 3/Packages/
  • Linux: ~/.config/sublime-text-3/Packages/
  • Windows: %APPDATA%\Sublime Text 3\Packages\

Manually (without git)

This is the hard way, if you don't have Package Control or git installed. The only way to keep the package up-to-date with this method is to repeat all the steps.

  1. Download the .zip file from this page.
  2. Create a folder called E100 Assembly inside Sublime Text's “Packages” directory (location shown above).
  3. Extract the contents of the zip into that folder.
  4. Restart Sublime Text if syntax highlighting doesn't start automatically.