This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hi Team,
I would like to report the following PRU compiler bug, tested with PRU compiler v2.1.4:
The following line creates an compiler error:
lbbo &R10, R14, R21.w2, b0
>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
"../main.asm", ERROR! at line 56: [E0003] Invalid instruction
This should be a valid instruction with valid parameters.
We tested some more instructions with similar parameters, which all compile okay:
lbbo &R10, R14, 0, b0
lbbo &R10, R14, R21.w2, 4
lbco &R10, c0, R21.w2, b0
Let me know if you can reproduce the problem or if you need further information.
Regards,
Thomas
Is main.asm a hand-coded assembly file? Or is it generated by the compiler?
Thanks and regards,
-George
main.asm is a hand-coded assembly file. I can send the CCS project if this helps to fix the bug.
Regards,
Thomas
Thank you for submitting a test case. I can reproduce the error diagnostic. I filed CODEGEN-2210 in the SDOWP system to have this investigated. You are welcome to follow it with the SDOWP link below in my signature.
Thanks and regards,
-George