I used MC56F84786 and want to include eeprom drivers but EepromDrv/EepromDrv.c include a lot of code like this
// clear RDCOLERR, ACCERR, FPVIOL flag
move.w #0x70,A1
move.bp A1,X:(r0)
when i compile the project ,CW11 IDE output
C:/nxp/CW MCU v11.1/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e|Compiler|Error
(C:\Users\MSI-NB\workspace\Test_asm\EepromDrv\EepromDrv.c|666|5|1|33694|1)
= move.w #0x70,A1
But i creat the project mixed c and asm
Hi,
I have tested the following code, I have not problem.
Pls have a try.
void asmTest(void)
{
asm{
move.w #0x70,A1
move.bp A1,X:(r0)
}
}
Hope it can help you
BR
XiangJun Rong
Error:
creat a project in this way:so the asm code would be compiled