;   ***************************************************************
;   * 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.                                                    *
;   ***************************************************************
;
/const   modulename string = "qq3"
/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.
;
/flg_local xxx               ;example of defining a local 1-bit flag
;
;   Local state in near memory.
;
         flgs_alloc          ;allocate vars for local flags, if any
.section .near_qq3, bss, near ;variables in near RAM


.section .code_qq3, code
;*******************************************************************************
;
;   Subroutine QQ3_INIT
;
;   Initialize the hardware and software state managed by this module.
;
         glbsub  qq3_init

         flgs_init           ;init all local flags, if any, to cleared

         leaverest
.end