PIC14 issues
Quote from nemka on January 20, 2026, 11:40 pmHello,
some instruction bugs:
- missing clrw instruction
- moviw does not affect WREGSimulide version: 1.1.0-SR1
The asm and hex files in the zip are from MPLAB v8.92. In MPLAB SIM this demonstration code works as expected.
and a configuration bug:
I tried to add PIC16F1828. 20 pin package (like 16F685).
PORTB has the upper four bits with pull ups and analog inputs.
If I configure ANSELB and WPUB, SIMULIDE crashes.
The working configuration:
<port name="PORTB" pins="8" outreg="PORTB,LATB" dirreg="!TRISB" pinmask="11110000">
<interrupt name="IOC" mask="11110000"/>
</port>
but I need this:
<port name="PORTB" pins="8" outreg="PORTB,LATB" dirreg="!TRISB" pinmask="11110000"
configregsA="ANSELB"
pullups="WPUB">
<interrupt name="IOC" mask="11110000"/>
</port>Thanks for your work. SIMULIDE is a great tool.
Hello,
some instruction bugs:
- missing clrw instruction
- moviw does not affect WREG
Simulide version: 1.1.0-SR1
The asm and hex files in the zip are from MPLAB v8.92. In MPLAB SIM this demonstration code works as expected.
and a configuration bug:
I tried to add PIC16F1828. 20 pin package (like 16F685).
PORTB has the upper four bits with pull ups and analog inputs.
If I configure ANSELB and WPUB, SIMULIDE crashes.
The working configuration:
<port name="PORTB" pins="8" outreg="PORTB,LATB" dirreg="!TRISB" pinmask="11110000">
<interrupt name="IOC" mask="11110000"/>
</port>
but I need this:
<port name="PORTB" pins="8" outreg="PORTB,LATB" dirreg="!TRISB" pinmask="11110000"
configregsA="ANSELB"
pullups="WPUB">
<interrupt name="IOC" mask="11110000"/>
</port>
Thanks for your work. SIMULIDE is a great tool.
Uploaded files:Quote from arcachofo on January 22, 2026, 6:42 pmHi and thanks for reporting.
I think CLRW, MOVIW, MOVWI are fixed now.
Keep an eye on the next tester build.About PIC16F1828 I don't know what is needed to add it, I will have a look.
Hi and thanks for reporting.
I think CLRW, MOVIW, MOVWI are fixed now.
Keep an eye on the next tester build.
About PIC16F1828 I don't know what is needed to add it, I will have a look.
Quote from nemka on January 27, 2026, 1:10 pmHi,
I tested it with SimulIDE_1.1.0-260127_test.zip and both CLRW and MOVIW worked well.
Thank you.
Hi,
I tested it with SimulIDE_1.1.0-260127_test.zip and both CLRW and MOVIW worked well.
Thank you.
