| поискавой системы для электроныых деталей |
|
PM0223 датащи(PDF) 60 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0223 датащи(HTML) 60 Page - STMicroelectronics |
|
60 / 110 page ![]() The STM32L0 Cortex-M0+ Instruction Set PM0223 60/110 DocID025763 Rev 1 3.5.5 MOV and MVN Move and Move NOT. Syntax MOV{S} Rd, Rm MOVS Rd, #imm MVNS Rd, Rm where: Operation The MOV instruction copies the value of Rm into Rd. The MOVS instruction performs the same operation as the MOV instruction, but also updates the N and Z flags. The MVSN instruction takes the value of Rm, performs a bitwise logical negate operation on the value, and places the result into Rd. Restrictions In these instructions, Rd, and Rm must only specify R0-R7. When Rd is the PC in a MOV instruction: • Bit[0] of the result is discarded. • A branch occurs to the address created by forcing bit[0] of the result to 0. The T-bit remains unmodified. Note: Though it is possible to use MOV as a branch instruction, ARM strongly recommends the use of a BX or BLX instruction to branch for software portability. Condition flags If S is specified, these instructions: • update the N and Z flags according to the result • do not affect the C or V flags. Example MOVS R0, #0x000B ; Write value of 0x000B to R0, flags get updated MOVS R1, #0x0 ; Write value of zero to R1, flags are updated MOV R10, R12 ; Write value in R12 to R10, flags are not updated MOVS R3, #23 ; Write value of 23 to R3 MOV R8, SP ; Write value of stack pointer to R8 MVNS R2, R0 ; Write inverse of R0 to the R2 and update flags S Is an optional suffix. If S is specified, the condition code flags are updated on the result of the operation, see 3.3.6: Conditional execution on page 43. Rd Is the destination register. Rm Is a register. Imm Is any value in the range 0-255. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |