piclist 1996\05\03\183515a >
Thread: 16C84 addressing
face BY : Andrew Warren email (remove spam text)

Kevin Rhoades <RemoveMEPICLISTKILLspamspamTakeThisOuTMITVMA.MIT.EDU> wrote:

{Quote hidden}


Yes.  In fact, if you use the include file and write:


MPASM will generate code that's equivalent to "MOVWF 005H".  On top
of that, it'll give you a warning that the operand was truncated.

Given this, it seems silly to use the "085H" definition.  Using that
definition, however,

   1.  more accurately depicts what your code's doing, making it
       more self-documenting,
   2.  allows simulators and emulators to track the TRISA
       register, and
   3.  builds character.

There are any number of ways to keep the "truncated" warning
messages from appearing... One of the most straightforward is to
replace instructions like:


with instructions like:



Andrew Warren - EraseMEfastfwdRemoveMEspamix.netcom.com
Fast Forward Engineering, Vista, California

See also: www.piclist.com/techref/microchip/devices.htm?key=16C
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) 16C84 addressing

month overview.

new search...