/usr/share/a2ps/sheets/pic16f84.ssh is in a2ps 1:4.14-1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | # Style sheet for PIC16F84 ASM
# Copyright (c) 2001, Aleksandar Veselinovic
# $Id: pic16f84.ssh,v 1.1.2.2 2007/12/29 01:58:32 mhatta Exp $
#
#
# This file is part of a2ps.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, 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; see the file COPYING. If not, write to
# the Free Software Foundation, 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
style pic16f84 is
requires a2ps 4.10
written by "Aleksandar Veselinovic <alexa@galeb.etf.bg.ac.yu>"
version is 1.0
documentation is
"This style highlights PIC16F84 ASM code."
end documentation
alphabets are
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_#$%"
case insensitive
# PIC - Register
keywords in Plain are
indf, tmr0, pcl, status, fsr, porta, portb, eedata, eeadr, pclath, intcon, indf,
option_reg, pcl, fsr, trisa, trisb, eecon1, eecon2, intcon, option
end keywords
# PIC - Register Bits
keywords in Plain are
gie, eeie, t0ie, inte, rbie, t0if, intf, rbif, rbpu, intedg, t0cs, t0se,
psa, ps2, ps1, ps0, eeif, wrerr, wren, wr, rd, gie, eeie, t0ie, inte, rbie,
t0if, intf, rbif, int, t0cki, irp, rp1, rp0, to, pd, z, dc, c,
/rb[01234567]/, /ra[01234]/
end keywords
# PIC - Opcode
keywords in Keyword are
addwf, andwf, clrf, clrw, comf, decf, decfsz, incf, incfsz, iorwf, movf,
movwf, nop, rlf, rrf, subwf, swapf, xorwf, bcf, bsf, btfsc, btfss, addlw,
andlw, call, clrwdt, goto, iorlw, movlw, retfie, retlw, return, sleep,
sublw, xorlw, goto
end keywords
# PIC - Directive
keywords in Keyword_strong are
__badram, bankisel, banksel, cblock, code, __config,
constant, data, db, de, dt, dw, else, "end", endc,
/endif/, endm, endw, equ, error, errorlevel, exitm, expand,
extern, fill, global, idata, __idlocs, if, ifdef, ifndef,
include, list, local, macro, __maxram, messg, noexpand,
nolist, org, page, pagesel, processor, radix, res, set,
space, subtitle, title, udata, udata_ovr, udata_shr,
variable, while, include,
/^#[ ]*include/,
/^#[ ]*\\(un\\)*define/, define, undefine
end keywords
sequences are
";" Comment,
/^;/ Comment_strong
end sequences
end style
|