| 전자부품 데이터시트 검색엔진 |
|
ST7MC1K2 데이터시트(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7MC1K2 데이터시트(HTML) 39 Page - STMicroelectronics |
|
39 / 371 page ![]() Obsolete Product(s) - Obsolete Product(s) ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto Central processing unit 39/371 5.3.4 Condition code register (CC) The 8-bit condition code register contains the interrupt masks and four flags representative of the result of the instruction just executed. This register can also be handled by the push and pop instructions. These bits can be individually tested and/or controlled by specific instructions. CC Reset value: 111x 1xxx 7 654 32 10 1I1 H I0 N Z C R/W R/W R/W R/W R/W R/W R/W Table 5. CC register description Bit Name Function 5, 3 I1, I0 (interrupt) Interrupt management bits The combination of the I1 and I0 bits gives the current interrupt software priority: 10: Interrupt software priority = level 0 (main) 01: Interrupt software priority = level 1 00: Interrupt software priority = level 2 11: Interrupt software priority = level 3 (interrupt disable) These two bits are set/cleared by hardware when entering in interrupt. The loaded value is given by the corresponding bits in the interrupt software priority registers (IxSPR). They can be also set/cleared by software with the RIM, SIM, IRET, HALT, WFI and push/pop instructions. See Section 7: Interrupts on page 59 for more details. 4 H (half carry) Arithmetic management bit This bit is set by hardware when a carry occurs between bits 3 and 4 of the ALU during an ADD or ADC instructions. It is reset by hardware during the same instructions. 0: No half carry has occurred 1: A half carry has occurred This bit is tested using the JRH or JRNH instruction. The H bit is useful in BCD arithmetic subroutines. 2 N (negative) Arithmetic management bit This bit is set and cleared by hardware. It is representative of the result sign of the last arithmetic, logical or data manipulation. It’s a copy of the result 7th bit. 0: The result of the last operation is positive or null 1: The result of the last operation is negative (that is, the most significant bit is a logic 1) This bit is accessed by the JRMI and JRPL instructions. Obsolete Product(s) - Obsolete Product(s) |
|
링크 URL |
| 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 |