This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Assembly warning

Hello,

I have some lines of assembly code (see below) which work and compiled just fine in MDK 4.10.
Yesterday I installed MDk 4.14 and now the assembler comes with a warning.
How can I solve this warning?

MSR     cpsr_c, #I_Bit | Mode_IRQ ; return to IRQ mode and set I bit

warning: A1876W: Use of '|' as a synonym for the :OR: operator is deprecated.
404 0000008c MSR cpsr_c, #I_Bit | Mode_IRQ ; return to IRQ mode and set I bit

Kind regards,
Sander

Parents Reply Children
No data