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

Assembler change immediate value of one assembly instruction

I am using the KEIL MDK-5, assembly. The project compiles without some problems, but when i see the disassembly the assembler change the inmediate value

Assembler substitute one instruction for another

My code:

The instruction: SUBS    R2,#0xC7

the assembler: 0x000006BC 3A00      SUBS     r2,r2,#0x00

When it changes the immediate 0xC7 change all results of my process.

Somebody saw something simlar?