gnupic: gpsim barfs at 18f452 'BSF FC1.0'
Subject:
Re: gpsim barfs at 18f452 'BSF FC1.0'
From:
Scott Dattalo ####@####.####
Date:
8 Jan 2005 00:36:57 +0000
Message-Id: <Pine.LNX.4.60.0501071633360.413@ruckus.brouhaha.com>
On Sat, 8 Jan 2005, David McNab wrote:
> The compiler I'm using for PIC18F452 is generating the following
> instructions:
>
> 0365 00034 80C1 BSF FC1.0
> 0366 00036 82C1 BSF FC1.1
> 0367 00038 84C1 BSF FC1.2
> 0368 0003A 96C1 BCF FC1.3
>
> This looks totally legit to me - setting bits 0-2, and clearing bit 3, of
> ADCON1. However, gpsim thinks FC1 is an 'invalid file register', and stops
> when it hits these instructions.
The ADCON1 register (nor ADCON0, ADRESL, or ADRESH) are modelled.
> Is there any way to get gpsim to see the light of reason?
Probably not, short of editing the source...
Scott