| 전자부품 데이터시트 검색엔진 |
|
UM0434 데이터시트(PDF) 49 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0434 데이터시트(HTML) 49 Page - STMicroelectronics |
|
49 / 390 page ![]() Register model UM0434 50/391 Note that CR0 may not reflect the true (infinitely precise) result if overflow occurs. For further details, refer to the EREF. CR setting for store conditional instructions CR0 is also set by the integer store conditional instruction, stwcx.. See instruction descriptions in Chapter 5: Instruction model,” for details on how CR0 is set. CR setting for compare instructions For compare instructions, a CR field specified by the BI field in the instruction is set to reflect the result of the comparison, as shown in Table 18. A complete description of how the bits are set is given in the EREF. Table 17. CR0 field descriptions CR Bit Name Description 32 Negative (LT) Bit 32 of the result is equal to 1. 33 Positive (GT) Bit 32 of the result is equal to 0 and at least one of bits 33–63 of the result is non- zero. 34 Zero (EQ) Bits 32–63 of the result are equal to 0. 35 Summary overflow (SO) This is a copy of the final state of XER[SO] at the completion of the instruction. Table 18. CR setting for compare instructions CR n Bit Bit Expression CR Bits BI Description Book E 0–2 3–4 CR n[0] 4 * cr0 + lt (or lt) 4 * cr1 + lt 4 * cr2 + lt 4 * cr3 + lt 4 * cr4 + lt 4 * cr5 + lt 4 * cr6 + lt 4 * cr7 + lt 32 36 40 44 48 52 56 60 000 001 010 011 100 101 110 111 00 Less than (LT). For integer compare instructions: rA < SIMM or rB (signed comparison) or rA < UIMM or rB (unsigned comparison). CR n[1] 4 * cr0 + gt (or gt) 4 * cr1 + gt 4 * cr2 + gt 4 * cr3 + gt 4 * cr4 + gt 4 * cr5 + gt 4 * cr6 + gt 4 * cr7 + gt 33 37 41 45 49 53 57 61 000 001 010 011 100 101 110 111 01 Greater than (GT). For integer compare instructions: rA > SIMM or rB (signed comparison) or rA > UIMM or rB (unsigned comparison). |
|
링크 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 |