hi,
i created a simple program based on a pic12f675 using MikcoC
this program is Hardware compatible with pic12f508 (i have some in stock)
but MikroC doesn't support the pic12F508 because it's à 12bit microcontroller. it's impossible to compile the programm for the 12f508
MPLAB support the 12f508
i discovered that the MikroC asm is a "virtual" assembler. not compatible with the MPLAB asm
is there a way to translate or convert a MikroC programm to edit it and compile it on MPLAB?
thanks a lot
convert MikroC ASM to MPLAB ASM
Re: convert MikroC ASM to MPLAB ASM
Hi,
The C code written in mikroC is translated to assembly, you can see the code in the .asm and .lst file.
You can try and copy the code to MPLAB ASM, but I'm unsure if you will be able to compile it straight away.
Regards,
Filip.
The C code written in mikroC is translated to assembly, you can see the code in the .asm and .lst file.
You can try and copy the code to MPLAB ASM, but I'm unsure if you will be able to compile it straight away.
Regards,
Filip.
Re: convert MikroC ASM to MPLAB ASM
simply: NOT POSSIBLE.
The generated file from MikroC may look similar to ASM (Assembly Language) code.
However, it is important to note that it is not true ASM code but rather a representation or abstraction of the code that is easier for the compiler to work with.
The generated "*.asm" code is specific to the MikroC compiler and may not be directly compatible with other ASM compilers like MPLAB ASM.
i have a simple prog for a 12f675 i want to use a 12f508 (MikroC dosn't support the 12f508 because it is a 12bits microController (le 12f675 is a 14bits).
notice: the hardware is 100% compatible betwin 675 and 508
thanks.
The generated file from MikroC may look similar to ASM (Assembly Language) code.
However, it is important to note that it is not true ASM code but rather a representation or abstraction of the code that is easier for the compiler to work with.
The generated "*.asm" code is specific to the MikroC compiler and may not be directly compatible with other ASM compilers like MPLAB ASM.
i have a simple prog for a 12f675 i want to use a 12f508 (MikroC dosn't support the 12f508 because it is a 12bits microController (le 12f675 is a 14bits).
notice: the hardware is 100% compatible betwin 675 and 508
thanks.