#5 PORTB / TRISB issue on 16F84 (8 bit register file addresses)

None
closed-out-of-date
nobody
None
5
2013-06-29
2006-03-16
Colm O Flaherty
No

This patch is against the source for GPSIM 0.21.11.
It fixes the issue where only 7 of the 8 register file
address bits were being passed to the GUI, resulting
in incorrect display of instructions (TRISB as PORTB),
and incorrect execution of instructions (values being
placed in PORTB (0x06) instead of in TRISB (0x86).

The patch is against gpsim 0.21.11
To apply the patch, do the following:

cd gpsim-0.21.11
patch -Np1 << gpsim-0.21.11-
8bit_reg_file_addresses.patch

to make and install the patch into the build, do the
usual:

cd gpsim-0.21.11
./configure
make all
make install

Discussion


Anonymous


Cancel   Add attachments