Dab tsi yog ob lub tshuab hluav taws xob?
Dab tsi yog ob lub tshuab hluav taws xob?

Video: Dab tsi yog ob lub tshuab hluav taws xob?

Video: Dab tsi yog ob lub tshuab hluav taws xob?
Video: Hmong new song 2016 - Yog dab tsi - Xub Hluav Taws (Official MV) 2024, Kaum ib hlis
Anonim

Ob - pass assemblers

Cov ob pass assembler ua obpasses dhau ntawm qhov program. Hauv thawj hla , nws nyeem tag nrho qhov kev pab cuam, saib tsuas yog rau cov ntawv txhais lus. Yeej, lub sib dhos mus los ntawm qhov kev pab cuam ib kab ntawm ib lub sij hawm, thiab generates tshuab code rau cov kev qhia ntawd.

Tsis tas li ntawd, pass assembler yog dab tsi?

SINGLE PASS ASSEmbler A ib leeg passassembler scans qhov kev pab cuam ib zaug thiab tsim qhov sib npaug ntawm qhov kev pab cuam. The sib dhos hloov tag nrho cov symbolicinstruction nrog tshuab code nyob rau hauv ib pass . Txoj cai foran assembly program hais tias lub cim yuav tsum tau txhais ib qho chaw hauv qhov program.

Kuj Paub, dab tsi yog hom assembler? Ib sib dhos yuav tsum txhais ob sib txawv ntawm cov cim: sib dhos -txhais cim thiab programmer-txhais cim. Cov sib dhos -txhais cim yog mnemonics rau lub tshuab cov lus qhia thiab pseudo-cov lus qhia.

Ib sab saum toj no, dab tsi yuav yooj yim ob lub rooj sib dhos ua rau thawj zaug?

A yooj yim ob - pass assembler ua raws li hauv qab no xub pass : Nws faib qhov chaw rau theliterals. Nws suav tag nrho qhov ntev ntawm qhov program. Nws tsim cov lus cim rau cov cim thiab lawv cov txiaj ntsig.

Lub assembler ua haujlwm li cas?

Sib dhos . Ib sib dhos yog ib qho program uas hloov cov lus sib dhos rau hauv tshuab code. Nws siv cov lus txib yooj yim thiab kev ua haujlwm los ntawm cov cai sib dhos thiab hloov lawv mus rau hauv cov lej uas tuaj yeem lees paub los ntawm ib hom kev ua haujlwm tshwj xeeb. Cov koom txoos zoo ib yam li compilers nyob rau hauv uas lawv tsim executable code.

Pom zoo: