EAX register siv rau dab tsi?
EAX register siv rau dab tsi?

Video: EAX register siv rau dab tsi?

Video: EAX register siv rau dab tsi?
Video: General Purpose Register in Assembly Language| AX Register | BX Register| CX Register | DX Register 2024, Kaum ib hlis
Anonim

ua eax yog 32-ntsis general-purpose sau npe nrog ob qho tib si siv : khaws cov nqi xa rov qab ntawm ib qho kev ua haujlwm thiab tshwj xeeb sau npe rau qee qhov kev suav. Nws yog technically volatile sau npe , txij li tus nqi tsis tau khaws cia. Xwb, nws tus nqi yog teem rau tus nqi rov qab ntawm ib qho kev ua haujlwm ua ntej muaj nuj nqi rov qab.

Ua raws li qhov xav tau, EAX sawv cev rau dab tsi?

" EAX " sawv rau "EXTENDED ACCUMULATOR REGISTER" "EBX" sawv rau "EXTENDED BASE REGISTER" "ECX" sawv rau "EXTENDED COUNT REGISTER" "EDX" sawv rau "EXTENDED DATA REGISTER"

ECX register yog dab tsi? Cov sau npe cov npe feem ntau yog keeb kwm. Piv txwv li, EAX siv los hu ua accumulator vim nws tau siv los ntawm ntau qhov kev ua lej lej, thiab ECX tau paub tias yog lub txee txij li nws tau siv los tuav lub voj ntsuas.

Ntawm no, txhua daim ntawv teev npe ua li cas?

Ib tug processor sau npe (CPU sau npe ) yog ib qho me me ntawm cov ntaub ntawv tuav qhov chaw uas yog ib feem ntawm lub computer processor. A sau npe tej zaum yuav tuav ib qho kev qhia, chaw nyob cia, los yog ib yam ntawm cov ntaub ntawv (xws li ib tug me ntsis ib theem zuj zus los yog ib tug neeg cim). Qee cov lus qhia qhia sau npe ua ib feem ntawm kev qhia.

Puas yog EAX thiab Rax tib yam?

rax ua yog 64-ntsis, "ntev" loj sau npe. Nws tau ntxiv rau xyoo 2003 thaum hloov mus rau 64-ntsis processors. ua eax yog 32-ntsis, "int" loj sau npe.

Pom zoo: