EasyManuals Logo

ST STM32H757 User Manual

ST STM32H757
262 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #23 background imageLoading...
Page #23 background image
PM0214 Rev 10 23/262
PM0214 The Cortex-M4 processor
261
Attempts to read the EPSR directly through application software using the MSR instruction
always return zero. Attempts to write the EPSR using the MSR instruction in application
software are ignored. Fault handlers can examine EPSR value in the stacked PSR to
indicate the operation that is at fault. See Section 2.3.7: Exception entry and return on
page 42.
Interruptible-continuable instructions
When an interrupt occurs during the execution of an LDM STM, PUSH, POP, VLDM, VSTM,
VPUSH, or VPOP instruction, the processor:
• Stops the load multiple or store multiple instruction operation temporarily
• Stores the next register operand in the multiple operation to EPSR bits[15:12].
After servicing the interrupt, the processor:
• Returns to the register pointed to by bits[15:12]
• Resumes execution of the multiple load or store instruction.
When the EPSR holds ICI execution state, bits[26:25,11:10] are zero.
If-Then block
The If-Then block contains up to four instructions following a 16-bit IT instruction. Each
instruction in the block is conditional. The conditions for the instructions are either all the
same, or some can be the inverse of others. See IT on page 145 for more information.
Thumb state
The Cortex-M4 processor only supports execution of instructions in Thumb state. The
following can clear the T bit to 0:
• Instructions BLX, BX and POP{PC}
• Restoration from the stacked xPSR value on an exception return
• Bit[0] of the vector value on an exception entry or reset
Attempting to execute instructions when the T bit is 0 results in a fault or lockup. See Lockup
on page 47 for more information.
Exception mask registers
The exception mask registers disable the handling of exceptions by the processor. Disable
exceptions where they might impact on timing critical tasks.
Table 7. EPSR bit definitions
Bits Description
Bits 31:27 Reserved.
Bits 26:25, 15:10 ICI: Interruptible-continuable instruction bits, see Interruptible-continuable
instructions on page 23.
Bits 26:25, 15:10 IT: Indicates the execution state bits of the IT instruction, see
IT on page 145.
Bit 24 T: Thumb state bit.
Bits 23:16 Reserved.
Bits 9:0 Reserved.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32H757 and is the answer not in the manual?

ST STM32H757 Specifications

General IconGeneral
BrandST
ModelSTM32H757
CategoryComputer Hardware
LanguageEnglish

Related product manuals