| Moteur de recherche de fiches techniques de composants électroniques |
|
MC68340 Fiches technique(PDF) 157 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MC68340 Fiches technique(HTML) 157 Page - Freescale Semiconductor, Inc |
|
157 / 441 page ![]() 5- 20 MC68340 USER’S MANUAL MOTOROLA 5.3.3.1 CONDITION CODE REGISTER. The CCR portion of the SR contains five bits that indicate the result of a processor operation. Table 5-3 lists the effect of each instruction on these bits. The carry bit and the multiprecision extend bit are separate in the M68000 Family to simplify programming techniques that use them. Refer to Table 5-7 as an example. Table 5-3. Condition Code Computations Operations X N Z V C Special Definition ABCD * U ? U ? C = Decimal Carry Z = Z Λ R ∂Λ ... Λ R0 ADD, ADDI, ADDQ * * * ? ? V = Sm Λ Dm Λ R ∂ V S∂ Λ D∂ Λ Rm C = Sm Λ Dm V R ∂ Λ Dm V Sm Λ R∂ ADDX * * ? ? ? V = Sm Λ Dm Λ R ∂ V S∂ Λ D∂ Λ Rm C = Sm Λ Dm V R ∂ Λ Dm V Sm Λ R∂ Z = Z Λ R ∂ Λ ... Λ R0 AND, ANDI, EOR, EORI, MOVEQ, MOVE, OR, ORI, CLR, EXT, NOT, TAS, TST — * * 0 0 CHK — * U U U CHK2, CMP2 — U ? U ? Z = (R = LB) V (R = UB) C = (LB < UB) Λ (IR < LB) V (R > UB) V (UB < LB) Λ (R > UB) Λ (R < LB) SUB, SUBI, SUBQ * * * ? ? V = S ∂ Λ Dm Λ R∂ V Sm Λ D∂ Λ Rm C = Sm Λ D ∂ V Rm Λ D∂ V Sm Λ Rm SUBX * * ? ? ? V = S ∂ Λ Dm Λ R∂ V Sm Λ D∂ Λ Rm C = Sm Λ D ∂ V Rm Λ D∂ V Sm Λ Rm Z = Z Λ R ∂ Λ ... Λ R0 CMP, CMPI, CMPM — * * ? ? V = S ∂ Λ Dm Λ R∂ V Sm Λ D∂ Λ Rm C = Sm Λ D ∂ V Rm Λ D∂ V Sm Λ Rm DIVS, DIVU — * * ? 0 V = Division Overflow MULS, MULU — * * ? 0 V = Multiplication Overflow SBCD, NBCD * U ? U ? C = Decimal Borrow Z = Z Λ R ∂ Λ ... Λ R0 NEG * * * ? ? V = Dm Λ Rm C = Dm V Rm NEGX * * ? ? ? V = Dm Λ Rm C = Dm V Rm Z = Z Λ R ∂ Λ ... Λ R0 ASL * * * ? ? V = Dm Λ (D ∂ – 1 V ... V D∂ – r) V D∂ Λ (Dm–1 V ... + Dm – r) C = D ∂ – r + 1 ASL (r = 0) — * * 0 0 LSL, ROXL ***0 ? C = Dm – r + 1 LSR (r = 0) — * * 0 0 ROXL (r = 0) — * * 0 ? C = X ROL — * * 0 ? C = Dm – r + 1 ROL (r = 0) — * * 0 0 ASR, LSR, ROXR ***0 ? C = Dr – 1 ASR, LSR (r = 0) — * * 0 0 ROXR (r = 0) — * * 0 ? C = X Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |