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

Z80 Assembly

by mrcook ST3

Z80 Assembly language syntax package for SublimeText

Details

Installs

  • Total 82
  • Win 50
  • OS X 15
  • Linux 17
Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1
Windows 0 0 0 1 0 0 1 0 0 0 1 2 1 3 2 1 0 0 0 2 0 0 0 1 2 1 0 0 1 0 0 0 1 0 1 1 0 0 1 1 1 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0
Linux 0 0 0 0 2 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 0 1 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Z80 Assembly syntax highlighting

A SublimeText 3 syntax highlighting package for the Z80 Assembly language.

There are many flavours of Z80 assembly and supporting them all is perhaps unrealistic. Therefore the focus of this package is with Pasmo - a portable Z80 cross assembler - as itself is compatible with numerous other assemblers.

Installation

Manual Installation

First, locate the SublimeText packages folder on your OS, then clone with git:

$ cd /path/to/sublime/packages/folder
$ git clone https://github.com/mrcook/Z80Assembly.git

Assembler compatibility notes

Although I've followed the Pasmo specification (see pasmo.md) this package deviates a little.

  • Hexadecimal numbers are expected to be upper case.
  • Pasmo identifiers, directives, etc., are expected to be upper case.
  • Only double-quoted strings are currently supported.

There may be other small deviations - otherwise known as bugs! If you encountered something that is not correct, please consider submitting an issue.

Roadmap

  • Fix the current compatibility issues (as above).
  • Support both upper and lower case.
  • Support for assemblers beyond just Pasmo.

Contributing

Pull requests are welcome.

License

Copyright (c) 2018 Michael R. Cook

This work is licensed under the terms of the MIT license.
For a copy, see <https://opensource.org/licenses/MIT>.