Hello !
Again, a lot of time was killed to find another error of the compiler mikroPacal PRO for AVR.
A simple example:
=============================
program BAG3;
type
TRecX = record
a, b, c: byte;
aa, bb, cc: word;
end;
var
v1, v2: TRecX;
begin
v1: = v2;
end.
=============================
The essence of the error in the incorrect use of registers for passing parameters to the function ___CA2AW
There's confusion.
The function itself expects source-target address parameters in registers 26-27 (X) 28-29 (Y)
In the file BAG3.asm - 26-27 (X) 30-31 (Z)
In the file BAG3.lst - 26-27 (X) 28-30 ????
Later I found that in the version 6.1.0 of the compiler there is no such error !
Installed mikroC PRO for AVR There is no such error !
I attach the screens.
Error generating code with the compiler 7.1.0
Error generating code with the compiler 7.1.0
- Attachments
-
- C3.jpg (70.23 KiB) Viewed 2053 times
-
- A4-ERR.jpg (118.5 KiB) Viewed 2053 times
-
- A3.jpg (97.13 KiB) Viewed 2060 times
Re: Error generating code with the compiler 7.1.0
Hi,
Yes, you are right about this error,I have forwarded this to our developers.
I believe that you have the issue raised on our HelpDesk, so lets continue there.
Regards,
Filip.
Yes, you are right about this error,I have forwarded this to our developers.
I believe that you have the issue raised on our HelpDesk, so lets continue there.
Regards,
Filip.
Re: Error generating code with the compiler 7.1.0
It's all very nice, of course, that the error will ever be corrected.filip wrote:Hi,
Yes, you are right about this error,I have forwarded this to our developers.
I believe that you have the issue raised on our HelpDesk, so lets continue there.
Regards,
Filip.
But!
I purchased your compiler for money - a commercial product.
That is, you have benefited.
I'm losing her because of your mistakes.
This is unfair.
Making such errors in the updated versions is simply unacceptable!
I looked through the forum.
There are still many unresolved issues.
And it's unclear when they will be solved.
I suggest once again - let's look at the source of the system libraries together and quickly correct existing errors.
Errors that interfere with our work.
Re: Error generating code with the compiler 7.1.0
Hi,
We are aware of your urgency, please find in the attachment the compiler's command line that works OK.
Copy it in the \Mikroelektronika\mikroPascal PRO for AVR\ folder instead of the existing one (backup just in case).
Regards,
Filip.
We are aware of your urgency, please find in the attachment the compiler's command line that works OK.
Copy it in the \Mikroelektronika\mikroPascal PRO for AVR\ folder instead of the existing one (backup just in case).
Regards,
Filip.
- Attachments
-
- mPAvr.rar
- (554.71 KiB) Downloaded 109 times