Dab tsi yog accumulator register hauv lus sib dhos?
Dab tsi yog accumulator register hauv lus sib dhos?

Video: Dab tsi yog accumulator register hauv lus sib dhos?

Video: Dab tsi yog accumulator register hauv lus sib dhos?
Video: Qhia caum yus tu hlub los yog saib yus tu hlub ua dab tsi 2021 2024, Kaum ib hlis
Anonim

Ib accumulator yog a sau npe rau lub sijhawm luv luv, nruab nrab cia ntawm cov lej lej thiab cov ntaub ntawv logic hauv lub computer CPU (central processing unit). Thaum cov lej tau txiav txim siab, nws raug sau rau lub cim xeeb loj lossis rau lwm qhov sau npe.

Ib yam li ntawd, sau npe ua lus sib dhos yog dab tsi?

a sau npe yog ib qho me me ntawm lub cim xeeb uas zaum hauv CPU. thiab yog siv los ntawm lus sib dhos ua ntau yam haujlwm. Zoo, koj muaj lub hom phiaj dav dav sau npe , ces koj muaj sau npe uas muaj kev siv tshwj xeeb (piv txwv li, qhov program counter sau npe ), thiab koj muaj ntau yam ntxiv (nco / ntu sau npe , SSE).

Tsis tas li, vim li cas accumulator hu ua tshwj xeeb sau npe? Accumulator machines Ib accumulator tshuab, thiab hu ua ib lub tshuab 1-operand, lossis CPU nrog accumulator -based architecture, yog hom CPU qhov twg, txawm hais tias nws yuav muaj ntau yam sau npe , CPU feem ntau khaws cov txiaj ntsig ntawm kev suav hauv ib qho npe tshwj xeeb , feem ntau hu ua "cov accumulator ".

Tsis tas li ntawd paub, yuav ua li cas lub accumulator register ua hauj lwm?

Ib accumulator yog hom sau npe suav nrog hauv CPU. Nws ua raws li qhov chaw khaws cia ib ntus uas tuav tus nqi nruab nrab hauv kev suav lej thiab cov laj thawj. Cov txiaj ntsig nruab nrab ntawm kev ua haujlwm tau sau ua ntu zus mus rau accumulator , overwriting tus nqi yav dhau los.

Lub luag haujlwm tseem ceeb ntawm lub accumulator yog dab tsi?

Nyob rau hauv lub hauv paus ua haujlwm chav tsev, los yog CPU, ntawm lub computer, lub accumulator ua raws li ib tug tshwj xeeb sau npe uas khaws cov nqi thiab increments ntawm intermediate arithmetic thiab logic xam. Lub accumulator yog ib ntus nco qhov chaw uas nkag tau nrawm los ntawm CPU.

Pom zoo: