gnupic: the Configuration Word
Subject:
Re: the Configuration Word
From:
Tsu Do Nimh ####@####.####
Date:
27 Aug 2004 02:11:37 +0100
Message-Id: <cd4a162804082618113d847883@mail.gmail.com>
On Thu, 26 Aug 2004 16:51:27 -0500, Fidel González Aguilar
####@####.#### wrote:
> __CONFIG <expression>
>
> So, What does expression mean? What does __config do? How does the
> _CONFIG directive write in the 2007 address?
>
> Maybe it's a basic thing, but I'm new using gputils, sorry.
Hi, __CONFIG is a macro, it looks just like MPASMs version.
You can find documentation on the www.microchip.com website.
Or, look in
http://ww1.microchip.com/downloads/en/DeviceDoc/33014g.pdf
on page 42 (p.57 in the .pdf)
You will also see examples in the .inc files found in your gpasm directories:
__CONFIG _CONFIG1, _CP_OFF & _CCP2_RC1 & _DEBUG_OFF & _VBOR_2_0 &
BOREN_1 & _MCLR_OFF & _PWRTE_OFF & _WDT_OFF & _HS_OSC
(it's a bunch of numbers ANDed together)
Hasta la pizza,
Tsu Do
--
[.signature for hire Call 409.555.1212]