gnupic: gpsim --"invalid file register" error
Subject:
gpsim --"invalid file register" error
From:
"Maxim Wexler" ####@####.####
Date:
25 Jan 2007 04:34:28 +0000
Message-Id: <a0811460701242033p3245b4a2ob4206aaea0980867@mail.gmail.com>
Hi group,
When I try to step through the following bit of code:
movlw 0x00
movwf ANSEL ; 0X9b, exclusive to 16f88
in order that PORTA be configured for digital i/o I get this:
**gpsim> step
attempt write to invalid file register
address 0x1b, value 0x0
could not decode trace type: 0x0
0x0000000000000000 p16f88 0x0000 0x3000 movlw 0x00
0x0000000000000001 p16f88 0x0001 0x009B movwf INVREG_1B
Read: 0x0000 from W
Invalid Trace entry: 0x0
The code seems to know about the register(it got the address right) but
clicking on the 0x9b cell in the register viewer window just comes up as
"file_register". In the header file 16f88.inc however it *is* called ANSEL.
Also, gpasm didn't complain.
So, am I missing something here or is it gpsim?
Maxim