PDA

View Full Version : CLRW and PIC18Fxxx



BigWumpus
- 10th June 2005, 18:59
I'm coding something for an PIC18F242.
PicBASIC Pro is inserting "CLRW"-commands into the ASM-File, but this command is unknown by the PIC.
I think, "ANDLW 0" is working...

Edit:
I've found the hint PBPpic18.LIB. There should be a workaround in the INC-files of the MPASM.
Nope.
I've installed the V7.11 of the IDE to use the MPASMWIN. There is no macro "CLRW".
So I patched the PBPPIC18.LIB...

Bruce
- 11th June 2005, 06:43
Which version of PBP do you have that's inserting
CLRW instructions when compiling for the 18F series?