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
Do you understand what "deprecated" means?
It means that, although something is allowed, it is not recommended:
dictionary.cambridge.org/.../deprecate_1
In this context, it usually refers to an old feature that is still currently supported for backward compatibility, but is likely to be withdrawn in the (near) future...
The meaning message - and how to fix it - should now be clear:
Use of '|' as a synonym for the :OR: operator is deprecated
Maybe also see: dictionary.cambridge.org/.../synonym
Sorry - that should, of course, say:
The meaning of the message - and how to fix it - should now be clear: