gnupic: How do I set configuration bits for 18f252 in gpasm?
Subject:
How do I set configuration bits for 18f252 in gpasm?
From:
David Froseth ####@####.####
Date:
8 Jun 2006 19:24:30 +0100
Message-Id: <44886B4E.4050603@umich.edu>
I would like to use gpasm to make a hex file for a 18f252 pic. However,
I am unsure of how to write the code, which sets up the configuration
bits. The 18f parts have several config files located in 0x300001 -
0x30000d of the program memory. How do I write my assembly program so
that gpasm knows what to do?
I would like to have these values in the various config files:
config1h = b'00100010'
config2l = b'00001110'
config2h = b'00001110'
config3h = b'00000001'
config4l = b'10000001'
Thanks for any advice.
p.s. Does gpasm support all of the additional instructions of the
enhanced 18f parts - i.e. bra, movlb, movff, etc?