gnupic: clrw


Previous by date: 28 Aug 2002 01:26:18 -0000 Error compiling gpsim CVS, Carlos Ghirardelli
Next by date: 28 Aug 2002 01:26:18 -0000 Re: clrw, Eric Smith
Previous in thread: 28 Aug 2002 01:26:18 -0000 Re: clrw, Samuel Tardieu
Next in thread: 28 Aug 2002 01:26:18 -0000 Re: clrw, Eric Smith

Subject: Re: clrw
From: Craig Franklin ####@####.####
Date: 28 Aug 2002 01:26:18 -0000
Message-Id: <3D6C287F.813615F7@attbi.com>

At some point in the past, Microchip changed the documented clrw
encoding for 14 bit devices.  It changed from 0x103 to the version with
the don't cares.  Some of the datasheets for the older 14 bit devices
still show the old encoding.  

From what I have seen, it is not clear whether the new documentation
reflects how the instruction has always been decoded or if this is a
change in newer 14 bit devices.  

gputils, like mpasm, uses the older 0x103 encoding, because it is
compatible with the documented encoding on both the older and newer
devices.

Samuel Tardieu wrote:
> 
> On 26/08, Craig Franklin wrote:
> 
> | I believe clrw for that device is 0x103 not 0x100.
> 
> According to the 16F873 datasheet, it is 00 0001 0xxx xxxx, so both of them
> should be OK.
> 
>   Sam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

Previous by date: 28 Aug 2002 01:26:18 -0000 Error compiling gpsim CVS, Carlos Ghirardelli
Next by date: 28 Aug 2002 01:26:18 -0000 Re: clrw, Eric Smith
Previous in thread: 28 Aug 2002 01:26:18 -0000 Re: clrw, Samuel Tardieu
Next in thread: 28 Aug 2002 01:26:18 -0000 Re: clrw, Eric Smith


Powered by ezmlm-browse 0.20.