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
The word "deprecated" is something a programmer gets exposed to quite a lot, even if it is seldom used in other situations.
"But is that a valid assumption - especially bearing in mind that many of the users of Keil tools are not native English speakers?"
It's not just native speakers who can have problems with such things.
Many moons ago, when I'd progressed from simple APPLESOFT BASIC test programs to proper tools, I remember seeing an error message being generated from the linker along the lines of:
Symbol XYZ multiply defined
I remember reading the word multiply as in 2 times 2. It took me a while to realise what it was trying to indicate.
Whoops, I should have said:
"It's not just NON native speakers who can have problems with such things."
Agreed - that is simply bad English!
I have commented on that one here before!