I created an application using a combination of the C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA] V.6xx and M3T-MR30/4 Real-time OS for M16C Series and R8C Family V.4.01. When executing the application with the emulator, the program jumps to the wrong address when I execute the line“INT __MR_CALL_VECTOR33”in start-up routine or “ILLEGAL INSTRUCTION” is generated. What is the workaround for this?
Use the following settings to work around this problem. In the High-performance Embedded Workshop menu, select [Build] -> [Linkage Order] -> [Use custom linkage order] and set “crt0mr.obj” as the first link.
|C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]|
|M3T-MR30/4 Real-time OS for M16C Series and R8C Family|