; *************************************************************** ; * Copyright (C) 2005, Embed Inc (http://www.embedinc.com) * ; * * ; * Permission to copy this file is granted as long as this * ; * copyright notice is included in its entirety at the * ; * beginning of the file, whether the file is copied in whole * ; * or in part and regardless of whether other information is * ; * added to the copy. * ; * * ; * The contents of this file may be used in any way, * ; * commercial or otherwise. This file is provided "as is", * ; * and Embed Inc makes no claims of suitability for a * ; * particular purpose nor assumes any liability resulting from * ; * its use. * ; *************************************************************** ; /include "qq2.ins.dspic" ;******************************************************************************* ; ; Configuration constants. ; ; ; Derived constants. ; /block /var local ii integer /var local r real /var local s string /endblock ;******************************************************************************* ; ; Variables. ; ;******************* ; ; Global state. ; .section .ram_qq3, bss ;variables in normal RAM ;******************* ; ; Local state. ; ; ; Local state in near memory. ; .section .near_qq3, bss, near ;varibles in near RAM alloc flags ;individual 1-bit flags, use FLG_xxx bit numbers ; ; Bits in FLAGS word. Each symbol is the number of its flag bit. ; .equiv flg_xxx, 0 .section .code_qq3, code ;******************************************************************************* ; ; Subroutine QQ3_INIT ; ; Initialize the hardware and software state managed by this module. ; glbsub qq3_init leaverest .end