![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1378](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271378.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1378 of 1441
52.1 How to read this chapter
Details of the ARM Cortex-M0 and ARM Cortex-M4 specification can be found in the
following documents:
•
Cortex-M4 Devices Generic User Guide
•
Cortex-M0 Devices Generic User Guide
52.2 Cortex-M4 instruction set summary
shows the Cortex-M4 instruction set with the following abbreviations to
calculate the number of cycles:
•
P = The number of cycles required for a pipeline refill. This ranges from 1 to 3
depending on the alignment and width of the target instruction, and whether the
processor manages to speculate the address early.
•
B = The number of cycles required to perform the barrier operation. For DSB and
DMB, the minimum number of cycles is zero. For ISB, the minimum number of cycles
is equivalent to the number required for a pipeline refill.
•
N = The number of registers in the register list to be loaded or stored, including PC or
LR.
•
W = The number of cycles spent waiting for an appropriate event.
UM10503
Chapter 52: LPC43xx/LPC43Sxx ARM Cortex M0/M4 reference
Rev. 2.1 — 10 December 2015
User manual
Table 1175.Cortex-M4 instruction set summary
Operation
Description
Assembler
Cycles
Move
Register
MOV Rd, <op2>
1
16-bit immediate
MOVW Rd, #<imm>
1
Immediate into top
MOVT Rd, #<imm>
1
To PC
MOV PC, Rm
1 + P
Add
Add
ADD Rd, Rn, <op2>
1
Add to PC
ADD PC, PC, Rm
1 + P
Add with carry
ADC Rd, Rn, <op2>
1
Form address
ADR Rd, <label>
1
Subtract
Subtract
SUB Rd, Rn, <op2>
1
Subtract with borrow
SBC Rd, Rn, <op2>
1
Reverse
RSB Rd, Rn, <op2>
1