# 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 " 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