Why isn't everyone using PICkit 2? Why are there so many programming software / programmer out there? Why are there so many electronics forums?
Get what I mean?
You need to use a compiler that produces machine code for the processor in question.
Also MPASM isn't the only assembler for PIC's (it should be - why produce a different one?), Parallax did one years ago using a strange kind of 'macro' language, and TASM is a shareware assembler that can assemble PIC code (but the source needs to be different).
You need to use a compiler that produces machine code for the processor in question.
Also MPASM isn't the only assembler for PIC's (it should be - why produce a different one?), Parallax did one years ago using a strange kind of 'macro' language, and TASM is a shareware assembler that can assemble PIC code (but the source needs to be different).
This is the point.It means does HITECH PICC-Lite & CCS are cross compilers?Then what about C18?
Then the language will be the same "C" it will change some few options.
Now I slightly understood.A computer software engineer cannot use our compilers because they are dedicated to us.Its supported to our needs to work along with MPLAB.
To program their stuff they need some other compilers.
The platform is the hardware/CPU/(instruction set).
All the compilers you mention run on the PC (a platform) and generate code for the PIC uC (a different platform). That makes them cross compilers.
An example of a compiler that is NOT a cross compiler is Microsoft Visual Studio C++. It runs on the PC and generates code for the PC. Both the same platform.
Really being a cross compiler makes no difference, it doesn't make a compiler any simpler because it runs on the same processor it's generating code for.
Obviously where things do get easier is debugging, because the code is running in the same machine as the debugger and compiler.
Any compiler for a PIC has to be a cross compiler, as there's no space in a PIC to run a compiler, nor any suitable interface/OS to run it under.
The platform is the hardware/CPU/(instruction set).
All the compilers you mention run on the PC (a platform) and generate code for the PIC uC (a different platform). That makes them cross compilers.
An example of a compiler that is NOT a cross compiler is Microsoft Visual Studio C++. It runs on the PC and generates code for the PC. Both the same platform.