Article Index

Here below you can find a modified nasm.xml file for Kate.  Because I use kate a lot this file will be updated frequently ,each time I find a missing instruction.  The latest version you can get on Github.

To use this file, close Kate and copy this file in the directory /usr/share/kde4/apps/katepart/syntax/  and/or in ~/.local/share/katepart5/syntax/
(nov 17, 2019 update: directory ~/.local/share/katepart5/syntax/ is not applicable anymore on Linux Mint 19.2, when downloading the syntax files via Kate you should add nasm.xml to the ~/.local/share/org.kde.syntax-highlighting/syntax directory)


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
  NASM Intel x86 assembly syntax

  Created: Nicola Gigante <This email address is being protected from spambots. You need JavaScript enabled to view it.>
    Changes: Bogdan Drozdowski (This email address is being protected from spambots. You need JavaScript enabled to view it.)
  Version: 1.3
             Lyle Putnam (This email address is being protected from spambots. You need JavaScript enabled to view it.)
  Version: 1.4

Changes from 1.0:
  15/01/2006: version 1.1
    Added the rol instruction (bytewise rotate left) to the keywords list.
  17/01/2006: version 1.2
    Remade the list of instructions directly from the nasm documentation.
  22/04/2006: version 1.3 from Bogdan Drozdowski (This email address is being protected from spambots. You need JavaScript enabled to view it.):
    Removed duplicates form the instruction list and made it alphabetical.
    Added new instructions (some SSE* and 64-bit, NASM may not know all of them).
    Corrections in register list and a few new ones (not 64-bit).
    Changed regexes for hex, octal and bin numbers. Now words like
      "change" and "blah" will NOT have the "ch" and "ah" coloured.
  24/07/2011: Version 1.4 from Lyle Putnam (This email address is being protected from spambots. You need JavaScript enabled to view it.):
    The above change to fix the regex for hex numbers was incorrect on Kate
    3.6.2. Fixed.
  GNU GENERAL PUBLIC LICENCE

This program, including associated files, is free software.  You may
distribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either Version 2 of
the license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

added instructions sil, dil, bpl, spl  - dec 12, 2016
added more than 1000 instructions
added AVX,AVX2 and AVX-512 registers
-->