| Moteur de recherche de fiches techniques de composants électroniques |
|
PM0214 Fiches technique(PDF) 84 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0214 Fiches technique(HTML) 84 Page - STMicroelectronics |
|
84 / 245 page ![]() The STM32 Cortex-M4 instruction set PM0214 84/245 DocID022708 Rev 4 Multiword values do not have to use consecutive registers. Specific example 5: 96-bit subtraction shows instructions that subtract a 96-bit integer contained in R9, R1, and R11 from another contained in R6, R2, and R8. The example stores the result in R6, R9, and R2. Specific example 5: 96-bit subtraction SUBS R6, R6, R9 ; subtract the least significant words SBCS R9, R2, R1 ; subtract the middle words with carry SBC R2, R8, R11 ; subtract the most significant words with carry 3.5.2 AND, ORR, EOR, BIC, and ORN Logical AND, OR, exclusive OR, bit clear, and OR NOT. Syntax op{S}{cond} {Rd,} Rn, Operand2 where: • ‘op’ is one of: AND: Logical AND ORR: Logical OR or bit set EOR: Logical exclusive OR BIC: Logical AND NOT or bit clear ORN: Logical OR NOT • ‘S’ is an optional suffix. If S is specified, the condition code flags are updated on the result of the operation (see Conditional execution on page 64). • ‘cond’ is an optional condition code (see Conditional execution on page 64) • ‘Rd’ is the destination register • ‘Rn’ is the register holding the first operand • ‘Operand2’ is a flexible second operand (see Flexible second operand on page 59 for details of the options). Operation The AND, EOR, and ORR instructions perform bitwise AND, exclusive OR, and OR operations on the values in Rn and operand2. The BIC instruction performs an AND operation on the bits in Rn with the complements of the corresponding bits in the value of operand2. The ORN instruction performs an OR operation on the bits in Rn with the complements of the corresponding bits in the value of operand2. Restrictions Do not use either SP or PC. |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |