PIC-AS is the Microchip compiler that can be selected as an alternative to GGASM. Using PIC-AS as the assembler has many benefits including debugging the program in MPLAB-X.
PIC-AS 2.40 compiled
New device support Support is now available for the following PIC parts: 16F17114, 16F17115, 16F17124, 16F17125, 16F17126, 16F17144, 16F17145, 16F17146, 16F18015, 16F18025, 16F18026, 16F18044, 16F18045, 16F18046, 16F18054, 16F18055, 16F18056, 16F18074, 16F18075, 16F18076, 16F18114, 16F18115, 16F18124, 16F18125, 16F18126, 16F18144, 16F18145, and 16F18146. Note: GCB compiler does not yet support these chips.
Faster compilation speed Compilation speed improvements have been made that will be particularly noticeable when projects use a large number of string literals. This change might also prevent out-of-memory errors from occurring on the machine hosting the PIC-AS compiler.
The next two items are related to the issues I reported.
Optimal selection of move instruction When building projects that target PIC18 devices that have the movffl instruction, the compiler may have used this larger instruction in places where the smaller movff instruction could have been used.
MPASM-compatible operand masking The PIC Assembler can now be put into a mode where it will automatically truncate all instructions operands, similar to how they are masked when using MPASM. The mode is controlled by a new linker option, which can be specified from the compiler driver, using -Wl,--fixupoverflow=error|warn|lstwarn|ignore. The ignore setting will have the PIC Assembler closely mimic the behaviour of MPASM, truncating all operands to suite the instruction silently. The warn, lstwarn or both these settings, colon separated, will have the linker truncate operand values to suite the instruction, but also issue a warning on the console, in the assembler list file, or in both, respectively, whenever truncation occurs, so that situations where truncation was not expected can be investigated. Truncation will occur for all operands of all instructions to a size suitable for the instruction.
To use the PIC-AS compiler. Install from here , and then update the picaslocation location in your USE.INI.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PIC-AS is the Microchip compiler that can be selected as an alternative to GGASM. Using PIC-AS as the assembler has many benefits including debugging the program in MPLAB-X.
PIC-AS 2.40 compiled
New device support Support is now available for the following PIC parts: 16F17114, 16F17115, 16F17124, 16F17125, 16F17126, 16F17144, 16F17145, 16F17146, 16F18015, 16F18025, 16F18026, 16F18044, 16F18045, 16F18046, 16F18054, 16F18055, 16F18056, 16F18074, 16F18075, 16F18076, 16F18114, 16F18115, 16F18124, 16F18125, 16F18126, 16F18144, 16F18145, and 16F18146. Note: GCB compiler does not yet support these chips.
Faster compilation speed Compilation speed improvements have been made that will be particularly noticeable when projects use a large number of string literals. This change might also prevent out-of-memory errors from occurring on the machine hosting the PIC-AS compiler.
The next two items are related to the issues I reported.
Optimal selection of move instruction When building projects that target PIC18 devices that have the movffl instruction, the compiler may have used this larger instruction in places where the smaller movff instruction could have been used.
MPASM-compatible operand masking The PIC Assembler can now be put into a mode where it will automatically truncate all instructions operands, similar to how they are masked when using MPASM. The mode is controlled by a new linker option, which can be specified from the compiler driver, using -Wl,--fixupoverflow=error|warn|lstwarn|ignore. The ignore setting will have the PIC Assembler closely mimic the behaviour of MPASM, truncating all operands to suite the instruction silently. The warn, lstwarn or both these settings, colon separated, will have the linker truncate operand values to suite the instruction, but also issue a warning on the console, in the assembler list file, or in both, respectively, whenever truncation occurs, so that situations where truncation was not expected can be investigated. Truncation will occur for all operands of all instructions to a size suitable for the instruction.
To use the PIC-AS compiler. Install from here , and then update the
picaslocation
location in your USE.INI.After a lot more studying of the website and the release notes – I have analysed that 28 new 8-bit chips have been released.
PIC16F171xx: PIC16F17114, PIC16F17115, PIC16F17124, PIC16F17125, PIC16F17126, PIC16F17144, PIC16F17145, PIC16F17146
PIC16F180xx: PIC16F18015, PIC16F18025, PIC16F18026, PIC16F18044, PIC16F18045, PIC16F18046, PIC16F18054, PIC16F18055, PIC16F18056, PIC16F18074, PIC16F18075, PIC16F18076
PIC16F181xx: PIC16F18114, PIC16F18115, PIC16F18124,PIC16F18125, PIC16F18126, PIC16F18144, PIC16F18145, PIC16F18146
What we really required is a sample from each chipset, ie: PIC16F171xx, PIC16F180xx, PIC16F181xx. Our idea chip is the 20pin or 28pin/PDIP
So, three chips per chip family:
I have requested - it could take months,
Evan
Chipfamily 16F171xx, 16F180xx and 16F181xx are now fully supported by the compiler.
You will MPLAB-IPE with SNAP or PK4. or the best solution is PICKitPlus for your PK2 or PK3 programmer(s).