| 数据搜索系统,热门电子元器件搜索 |
|
DSP56303 数据表(PDF) 65 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
DSP56303 数据表(HTML) 65 Page - Freescale Semiconductor, Inc |
|
65 / 292 page ![]() Central Processor Unit (CPU) Registers DSP56303 User’s Manual, Rev. 2 Freescale Semiconductor 4-7 4.3.1 Status Register (SR) The Status Register (SR) (Figure 4-1) is a 24-bit register that indicates the current system state of the processor and the results of previous arithmetic computations. The SR is pushed onto the system stack when program looping is initialized or a jsr is performed, including long interrupts. The SR consists of the following three special-purpose 8-bit control registers: Extended Mode Register (EMR) (SR[23–16]) and Mode Register (MR) (SR[15–8]). These special-purpose registers define the current system state of the processor. The bits in both registers are affected by hardware reset, exception processing, enddo (end current do loop) instructions, rti (return from interrupt) instructions, and trap instructions. In addition, the EMR bits are affected by instructions that specify SR as their destination (for example, do forever instructions, brkcc instructions, and movec). During hardware reset, all EMR bits are cleared. The MR register bits are affected by do instructions, and instructions that directly reference the MR (for example, andi, ori, or instructions, such as movec, that specify SR as the destination). During processor reset, the interrupt mask bits are set and all other bits are cleared. Condition Code Register (CCR) (SR[7–0]). Defines the results of previous arithmetic computations. The CCR bits are affected by Data Arithmetic Logic Unit (Data ALU) operations, parallel move operations, instructions that directly reference the CCR (for example, ori and andi), and instructions that specify SR as a destination (for example, movec). Parallel move operations affect only the S and L bits of the CCR. During processor reset, all CCR bits are cleared. The definition of the three 8-bit registers within the SR is primarily for the purpose of compatibility with other Freescale DSPs. Bit definitions in the following paragraphs identify the bits within the SR and not within the subregister. Extended Mode Register (EMR) Mode Register (MR) Condition Code Register (CCR) 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CP[1–0] RM SM CE SA FV LF DM SC S[1–0] I[1–0] S L E U N Z V C Reset: 1 1000 00000 0000 1100 0000 00 Reserved bit. Read as zero; write to zero for future compatibility Figure 4-1. Status Register (SR) |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |