| Electronic Components Datasheet Search |
|
SH32F2601P/032PR Datasheet(PDF) 13 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH32F2601P/032PR Datasheet(HTML) 13 Page - SINOWEALTH Electronic Ltd |
|
13 / 370 page ![]() SH32F2601 13 7.3.1.3 Execution PSR Execution PSR (EPSR) contains two overlapping areas: Interrupt-Continual Instruction (ICI) area is used for loading multiple operations and storing multiple operation instructions Execution status area is used for if-then (IT) instructions and T bit (Thumb status bit) Interrupt-Continual Instruction (ICI) area Multiple-load/store (LDM/STM) is interruptible. The ICI area of the EPSR is used to store the information required to continue performing multiple loading and storing operations at the point of being interrupted. If-Then instruction status area The IT area of EPSR contains the execution status bits of If-Then instructions. EPSR cannot be accessed directly, to modify EPSR, one of the following two events must occur: An interrupt occurs when LDM or STM instructions are executed. The If-Then instructions are executed Note: ICI area and IT area overlap each other, so multiple-load/store operations with If-Then conditions are not interruptible-continual. b31 b30 b29 b28 b27 b26 b25 b24 b23 b22 b21 b20 b19 b18 b17 b16 Reserved ICI/T T Reserved - RW RW - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 B5 b4 b3 b2 b1 b0 ICT/IT Reserved RO - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit Sign Description 31 - 27 Reserved - 15 - 12 ICI Interrupt-Continual Instruction bits. If an interrupt occurs while executing an LDM or STM operation, the LDM or STM operation is suspended. EPSR uses [15:12] bit to store the index of the next register operand in the operation. After the interrupt is responded, the processor returns to the register stored in [15:12] and resumes operation. If the index is not in the register list of the instruction, the processor continues to execute the LDM/STM operation using the next register in the list (if any). 15 - 10:26 - 25 IT If-Then bits. They are the execution status bits of If-Then instruction, containing the number of these instructions and their execution conditions. 24 T The T bit is cleared using an interactive instruction, and the PC bit 0 written here is zero. It can also be cleared by the exception POP operation (T bit pushed in stack is 0). Executing an instruction when the T bit is 0 causes an INVSTATE exception. 23 - 16 Reserved - 9 - 0 Reserved - Base register update in LDM and STM operations There are cases when an LDM or STM updates the base register: When the instruction specifies base register write-back, the base register changes to the updated address. An abort restores the original base value. When the base register is in the register list of an LDM, and is not the last register in the list, the base register changes to the loaded value. An LDM/STM is restarted rather than continued if: The instruction faults The instruction is inside an IT If an LDM has completed a base load, it is continued from before the base load. Store xPSR bit When entering an exception, the three status registers combined and stored into the stack. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |