Download Cortex-M3/M4F Instruction Set Technical User`s Manual (Rev. A)
Transcript
Cortex-M3/M4F Instruction Set ■ You must not use the cond suffix. 4.1.4 Condition Flags If S is specified, the MUL instruction: ■ Updates the N and Z flags according to the result. ■ Does not affect the C and V flags. 4.1.5 Examples MUL MLA MULS MULLT MLS R10, R2, R5 R10, R2, R1, R5 R0, R2, R2 R2, R3, R2 R4, R5, R6, R7 ; ; ; ; ; Multiply, R10 Multiply with Multiply with Conditionally Multiply with = R2 x R5. accumulate, R10 = flag update, R0 = multiply, R2 = R3 subtract, R4 = R7 November 04, 2011 (R2 x R1) + R5. R2 x R2. x R2. - (R5 x R6). 107 Texas Instruments Incorporated