.

Системы адресации в мини- и микро-ЭВМ

Язык: русский
Формат: реферат
Тип документа: Word Doc
0 1168
Скачать документ

IINEIANEEE I?AeAIA O?OAeIAIAI E?ANIIAI CIAIAIE

YEIIIIEEI-NOAOENOE*ANEEE EINOEOOO

EAOAAe?A AU*ENEEOAEUeIUO IAOEI

EO?NIAAss ?AAIOA

ia oaio:

N?aaieoaeueiue aiaeec ?acee/iuo nenoai aae?anaoeee, eniieuecoaiuo a ieie
e iee?iYAI.

Aeaoa aioiaiinoe ?aaiou:

Nooaeaio: Eiceia A.A.

?oeiaiaeeoaeue ?aaiou: *a?iye I.A.

Caueuaia “____” “_________” 1994 a.

Iineaa 1994 a.

IINEIANEEE I?AeAIA O?OAeIAIAI E?ANIIAI CIAIAIE

YEIIIIEEI-NOAOENOE*ANEEE EINOEOOO

EAOAAe?A AU*ENEEOAEUeIUO IAOEI

CAAeAIEA IA EO?NIAOTH ?AAIOO

a?oiia AeI-101 eo?n 1

Nooaeaio: Eiceia A.A.

Oaia: N?aaieoaeueiue aiaeec ?acee/iuo nenoai aae?anaoeee, eniieuecoaiuo
a ieie e iee?iYAI.

Iniiaiua ?acaeaeu eo?niaie ?aaiou:

Aaaaeaiea. Ioee/ey ieie- e iee?iYAI.

Nenoaiu aae?anaoeee, eniieuecoaiua a ieie-YAI.( Ia i?eia?a NI YAI ).

Nenoaiu aae?anaoeee, eniieuecoaiua a IYAI.( Ia i?eia?a eiie?aoiie IYAI
).

Caeeth/aiea. N?aaieoaeueiue aiaeec nenoai aae?anaoeee eniieuecoaiuo a
ieie- e ia?niiaeueiuo YAI.

?aeiiaiaeoaiay eeoa?aoo?a:

Iaeua YAI aunieie i?iecaiaeeoaeueiinoe. A?oeoaeoo?a e i?ia?aiie?iaaiea.
Iineaa “?aaeei e naycue” 1990.

Ae.A?aii, I.A?aii. I?ioeanni? 80386 e aai i?ia?aiie?iaaiea. “Ie?” 1990.

Oaao?ei, A.A. A?iaeei, A.I. Iicaiaie. Iienaiea e nenoaia eiiaiae. II
“Iaeei” 1992.

Aeaoa auaea/e caaeaiey “____” “_________” 1994 a.

N?ie i?aaenoaaeaiey ?aaiou ia eaoaae?o ” ” ” ” 1994 a.

?oeiaiaeeoaeue eo?niaie ?aaiou : *a?iye I.A.

1. IOEE*Ess IEIE- E IEE?IYAI.

A eiioea 60-o aiaeia ia/aeny na?eeiue auione n?aaieoaeueii iaaieueoeo e
aeaoaauo ieie-YAI. Eo i?aaeiacia/aee aeey i?aaei?eyoee e i?aaiecaoeee,
aaea onoaiiaea aunieii?iecaiaeeoaeueiuo YAI auea yeiiiie/anee
iaauaiaeiie. A eo caaea/o ia?aiia/aeueii aoiaeeea aaoiiaoecaoeey
i?ioanneiiaeueiie ?aaiou a ?acee/iuo i?aaiecaoeeyo, ?aaioa ia
i?aaei?eyoeyo a ea/anoaa i?iaeaiiii?eaioe?iaaiiuo YAI. A 1977-78 aiaeo
aue ia/ao auione naiaenoaa iaeuo YAI (NI YAI). Eo /anoi iacuaaee
oi?aaeythueie au/eneeoaeueiuie eiiieaenaie, oae eae iie /aua anaai
eniieueciaaeenue a nenoaiao oi?aaeaiey ?acee/iiai ?iaea. Iaeiaei, NI
3-ae i/a?aaee, ?ac?aaioaiiua a iineaaeiea aiaeu ioiinyony oaea e YAI
/aoaa?oiai iieieaiey e eiatho aieueooth i?iecaiaeeoaeueiinoue, iiyoiio
e?oa eo i?eiaiaiey ?acei ?anoe?eeny, e eo aeoeaii eniieuecotho a
ea/anoaa aaoiiaoece?iaaiiuo ?aai/eo iano, iauaaeeiytho a au/eneeoaeueiua
nenoaiu, e ii?o/atho ei ?an/ao yeiiiie/aneeo e noaoenoe/aneeo caaea/. N
iiyaeaieai aieueoeo eioaa?aeueiuo noai naycaii ?acaeoea ae?oaiai eeanna
iaoei – iee?iYAI, e, eae aeinoeaeaiea yoiai iai?aaeaiey – iiyaeaiea
iiuiuo i?ioanneiiaeueiuo IYAI, eioi?ua eniieuecothony ia ?aai/eo ianoao
aeey aaoiiaoecaoeee o?oaea, ianeiaeiuo ?an/aoia e ?acee/iiai ?iaea
i?iaeoe?iaaiey. Iniiaiui ioee/eai ieie- io iee?iYAI ianiiiaiii yaeyaony
i?eaioaoeey. Iaoeiu NI YAI auioneaeenue eae i?iaeaiii i?eaioe?iaaiiua
YAI e iiaeaea?aeeaaeenue aieueoei eiee/anoaii ?acee/iuo iiaeoeae
ii?aaeaeythueo eo niaoeeaeecaoeeth, a oi a?aiy eae IYAI – yoi
oieaa?naeueiua YAI, ?ann/eoaiiua iiieii i?eiaiaiey a i?ioanneiiaeueiie
aeayoaeueiinoe aua e ia i?eiaiaiea a ea/anoaa iao/athueo e auoiauo YAI.
Ii ooieoeeiiaeueiui aiciiaeiinoyi ieie- e iee?iYAI eiathuea i?eia?ii
iaeei e oio aea o?iaaiue ia ioee/athony ae?oa io ae?oaa, eae yoi
aeieaeii auoue aeey iaoei ?aciiai eeanna, o.a. o/eouaay /oi ieie-YAI
n/eoaaony aieaa iiuiie /ai iee?iYAI, a a /anoiinoe IYAI. Aeey n?aaiaiey
aicueiai noia?ieie-YAI NI 1700 e nia?aiaiioth ia?niiaeueioth YAI ia aaca
32-?ac?yaeiiai i?ioeanni?a.

NI 1700 AMD 80386 DX 40Mhz

I?iecaiaeeoaeue-

iinoue, iei.ii./n 3 9.6

?ac?yaeiinoue 32 32

Aieinoue ICO

Iaaeo 5-15 1-128

Ana aeaiiua ii i?ioeanni?o AMD386 acyou ec aeieoiaioaoeee ia Ali 386
MINI ISA System Board. Eae aeaeii n ?acaeoeai yeaiaioiie aacu IYAI,
caaeoiaiiua eae iaiaa iiuiua, /ai ieie-YAI ia?niiaeueiua eiiiuethoa?u
iaiaiaee eo ii i?iecaiaeeoaeueiinoe.

2. NENOAIU AAe?ANAOeEE ENIIEUeCOAIUA A IEIE-YAI

A yoie aeaaa aoaeoo ?anniio?aiu niiniau aae?anaoeee aeaiiuo,
eniieuecoaiua a ieie-YAI ia i?eia?a NI1700. Yoi ia?aue i?aaenoaaeoaeue
32-?ac?yaeiuo YAI naiaenoaa NI. Au/eneeoaeueiue eiiieaen NI1700
i?aaenoaaeyao niaie oieaa?naeueioth YAI. Iaeia ec iniiaiuo oeaeae aai
nicaeaiey – yoi ?anoe?aiea ae?ooaeueiiai aae?aniiai i?ino?ainoaa ii
n?aaiaieth n 16-?ac?yaeiie NI4. Oioy iaeioi?ua eino?oeoeee
au/eneeoaeueiiai eiiieaena NI1700 eiatho noiaenoai n eino?oeoeeyie NI4,
NI1700 i?aaenoaaeyao niaie iieiinoueth iiaoth a?oeoaeoo?o. Aiia?aoiua
n?aaenoaa NI1700 i?eaioe?iaaiu ia ?aaeecaoeeth ycueia aunieiai o?iaiy e
nenoaiiuo i?ia?aii, eioi?ua eniieuecothony iia?aoeeiiiie nenoaiie e
eiiieeyoi?ii. Nenoaia eiiaiae NI1700 a ianoiyuaa a?aiy aeeth/aao 304
eino?oeoeee e aieaa 20 ?aaeeiia aae?anaoeee iia?aiaeia. Ana yoi aeaao
aiciiaeiinoue i?ia?aiienoo ninoaaeyoue yooaeoeaiua ii iauaio e a?aiaie
auiieiaiey i?ia?aiiu. Eaeea aea niiniau aae?anaoeee i?aaeoniio?aiu a
NI1700? Iu ?anniio?ei ianeieueei niiniaia aae?anaoeee, eioi?ua a iauai
iiaeii iiaeaeeoue ia ?aaeno?iaua, einaaiiua, eiaeaeniua e niaoeeaeueiua.

2.1 ?AAENO?IAUE ?AAEEI AAe?ANAOeEE

A yoii ?aaeeia iia?aiaeii yaeyaony niaea?aeeiia ?aaeno?a.?anniio?ei
eino?oeoeeth MOVL R2,R3. Aeey NI YAI oa?aeoa?ii, /oi i?eaiieeii anaaaea
yaeyaony aoi?ie iia?aiae aeey aeaoo- e o?aoee aeey o?ao-iia?aiaeiuo
eino?oeoeee. Iiyoiio eino?oeoeey MOVL R2,R3 ia?anueaao niaea?aeeiia
?aaeno?a R2 a ?aaeno? R3, a ia iaiai?io, eae auei au n aiaeiae/iie
eino?oeoeeae MOV AX,BX ec iaai?a eiiaiae i?ioeanni?ia caiaenoaa 8086
oe?iu Intel. I?eaaaeai i?eia? eniieueciaaiey yoiai niiniaa aae?anaoeee
ia i?eia?a eino?oeoeee MOVL R2,R3. Aa iaoeiiay caienue aoaeao
auaeyaeaoue, eae D0 52 53, aaea D0 – eiae eino?oeoeee, a 52 e 53 –
i?yiay aae?anaoeey, 2ie ?aaeno? e i?yiay aae?anaoeey, 3ee ?aaeno?
niioaaonoaaiii.

Ionoue niaea?aeeiia ?aaeno?ia aei iia?aoeee auei:

R2 = 00000010

R3 = 00001000

Oiaaea iinea iie aoaeoo auaeyaeaoue oae:

R2 = 00000010

R3 = 00000010

Eae aeaeii ec i?eia?a, niaea?aeeiia ?aaeno?a R2 auei neiie?iaaii a R3.

2.2 EINAAIII-?AAENO?IAUE ?AAEEI

A yoii ?aaeeia niaea?aeeiia ?aaeno?a yaeyaony aae?anii iia?aiaea.
Iiaiiieea ia annaiaea?a (Rn), aaea (Rn) yaeyaony ?aaeno?ii niaea?aeauei
eeai aae?an iia?aiaea enoi/ieea {MOVL (R2),R3} eeai aae?an iia?aiaea
i?eaiieea {MOVL R2,(R3)}. A ea/anoaa i?eia?a iiyoue i?eaaaeai
eino?oeoeeth ia?anueee aeaieiiai neiaa MOVL R2,(R3). Eiae iia?aoeee
inoaiaony oio aea, a iia?aiaeu aoaeoo i?aaenoaaeaiu eae 52 63, aaea 63 –
yoi oaea einaaiiay aae?anaoeey n eniieueciaaieai 3ai ?aaeno?a. I?e oii
aea niaea?aeeiii ?aaeno?ia, /oi e a i?aaeuaeouai i?eia?a, aoaeai eiaoue:

Aei iia?aoeee MOVL R2,(R3):

R2 = 00000010

R3 = 00001000

(00001000) = 00000200 (R3)

Iinea…

R2 = 00000010

R3 = 00001000

(00001000) = 00000010

Iinea iia?aoeee ia?anueee cia/aiea y/aeee iaiyoe, aae?an eioi?ie
niaea?aeaeny a R3 (00001000) eciaieeny n 000000200 ia 00000010.

2.3 ?AAEEI N AAOIOAAEE*AIEAI

Niaoeeaeueii aeey ia?aaioee ianneaia aeaiiuo a CM1700 i?aaeoniio?aia
aae?anaoeey n aaoioaoee/aieai. A yoii ?aaeeia niaea?aeeiia aua?aiiiai
?aaeno?a yaeyaony aae?anii iia?aiaea, eae e i?e einaaiii-?aaeno?iaie
aae?anaoeee, iaeiaei iinea auiieiaiey iia?aoeee niaea?aeeiia ?aaeno?a
oaaee/eaaaony ia N, a caaeneiinoe io oeia iia?aiaea:

N = 1, anee iia?aiaeii yaeyaony aaeo,

N = 2, anee iia?aiaeii yaeyaony neiai,

N = 4, anee iia?aiaeii yaeyaony aeaieiia neiai,

N = 8, anee iia?aiaeii yaeyaony o/aoaa?aiiia neiai eee neiai n
ieaaathuae caiyoie,

N =16, anee iia?aiaeii yaeyaony oeaeia neiai aeeeiie 128 ?ac?yaeia eee
aeaieiia neiai n ieaaathuae caiyoie.

?anniio?ei yoio ?aaeei aae?anaoeee eniieuecoy eiiaiaeo MOVL (R0),(R2)+.
A iaiyoe eino?oeoeey aoaeao i?aaenoaaeaia eae D0 60 82, aaea 60 – eae
oaea aiai?eeinue einaaiiay aae?anaoeey n ?aaeno?ii R0, a 82 – einaaiiay
aae?anaoeey n eniieueciaaieai ?aaeno?a R2 e aaoioaaee/aiea. Ainueia?ea a
iineaaeiai neo/aa eae ?ac e icia/aao aeaiiue ?aaeei aae?anaoeee.

Aei iia?aoeee MOVL (R0),(R2)+

R0 = 00001000

R2 = 00001050

(00001000) = 000000AC (R3)

(00001050) = 00000000 (R2)

Iinea…

R0 = 00001000

R2 = 00001054 <—— Oaaee/eeinue ia 4(00001000) = 000000AC(00001050) = 000000ACEae aeaeii i?iecioea ia?anueea /enea ec y/aeee 00001000 a 00001050 e cia/aiea ?aaeno?a R2 oaaee/eeinue ia 4. ( Eino?oeoeey MOVL ia?anueaao aeaieiua neiaa. Ia yoii aiai?eo noooeen 'L' - Long - aeeeiiia eee aeaieiia neiai. Iiyoiio R2 oaaee/eeny ia 4. Aiiaua i?aaeoniio?aiu iia?aoeee ?aaioathuea n aaeoaie, neiaaie, aeaieiuie neiaaie e eiiaaea n o/aoaa?aiiuie neiaaie e eiathuea noooeenu B,W,L e Q niioaaonoaaiii.)2.4 ?AAEEI N AAOIOIAIUeOAIEAIYoio ?aaeei eaeaioe/ai ?aaeeio n aaoioaaee/aieai, iaeiaei caeanue iinea auiieiaiey iia?aoeee neaaeoao ia oaaee/aiea, a oiaiueoaiea iia?aiaea ii oai aea i?aaeeai. Aeey i?eia?a ?anniio?ei eiiaiaeo CLRB -(R5), eioi?ay a iaiyoe aoaeao auaeyaeaoue eae 94 75. Caeanue 94 - eiae iia?aoeee, a 75 - cia/eo: eniieueciaaoue ?aaeno? R5 ( ?5 ) e i?iecaanoe oiaiueoaiea iinea eniieiaiey ( 7? ).Aei iia?aoeee CLRB -(R5)R5 = 00001000(00000FFF) = 0000001A(000001000) = 0000001A (R5)Iinea...R5 = 00000FFF <—— oiaiueoeeinue ia 1(00000FFF) = 0000001A (R5)(000001000) = 00000000 <—— 0Eciaiaiey oi?ioi aeaeiu. ss/aeea 00001000, ia eioi?oth ia?aiia/aeueii oeacuaae ?aaeno? R5 i/enoeeanue ( CLRB - CLeaR Byte - i/enoeoue aaeo ),cia/aiea ?aaeno?a R5 oiaiueoeeinue ia 1 e oaia?ue oeacuaaao ia y/aeeo iaiyoe ?aniieiaeaiioth ia?aae y/aeeie 00001000, o.a. 00000FFF.2.5 EINAAIIUE ?AAEEI N AAOIOAAEE*AIEAIA yoii ?aaeeia niaea?aeeiia aua?aiiiai ?aaeno?a yaeyaony aae?anii aae?ana iia?aiaea, a iinea auiieiaiey iia?aoeee i?iecaiaeeony oaaee/aiea niaea?aeeiiai yoiai ?aaeno?a ia 4, iacaaeneii io ?acia?a iia?aiaea. Yoi ii?aaeaeyaony oai, /oi ?aaeno? niaea?aeeo aae?an aae?ana ( o.a. aae?an y/aeee, niaea?aeeiia eioi?ie a naith i/a?aaeue eniieuecoaony eae aae?an aeey iieo/aiey aeaenoaeoaeueiiai iia?aiaea ), a aae?an anaaaea i?aaenoaaeyaony eae aeaieiia neiai.Aeey i?eia?a aicueiai iia?aoeeth i/enoee aaeoa, iiaiiieea eioi?ie ia annaiaea?a aoaeao auaeyaeaoue eae CLRB @(R5)+. Neiaie '@' ( cthoa ) icia/aao eniieueciaaiea ia i?inoi ?aaeeia n aaoioaaee/aieai, a eiaiii einaaiiiai. I?aaenoaaeaiea yoie iia?aoeee a iaiyoe aoaeao 94 95, aaea 94 - eiae iia?aoeee, 95 - icia/aao eniieueciaaiea ?aaeno?a R5 e einaaiiie aae?anaoeee n aaoioaaee/aieai (oeeo?a 9).Aei iia?aoeee CLRB @(R5)+R5 = 00001000(00001000) = 000000AC (R5)(000000AC) = 0A (00001000)Iinea...R5 = 00001004 <—— oaaee/eeinue ia 4(00001000) = 000000AC(000000AC) = 00 <—— 0A ?acoeueoaoa auiieiaiey yoie eiiaiaeu niaea?aeeiia y/aeee 000000AC, aae?an eioi?ie ciaea?aeaeny a y/aeea 00001000, ia eioi?oth oeacuaae ?aaeno? R5 iaioeeeinue, a cia/aiea ?aaeno?a R5 oaaee/eeinue ia 4.2.6 ?AAEEI NIAUAIEssA yoii ?aaeeia niaea?aeeiia aua?aiiiai ?aaeno?a neeaaeuaaaony n niaea?aeeiui aaeoa, neiaa eee aeaieiiai neiaa, neaaeothuaai iaiin?aaenoaaiii ca niaoeeoeeaoi?ii iia?aiaea. Iieo/aiiay noiia yaeyaony aae?anii iia?aiaea. Iiaiiieee ia annaiaea?a aeey 3ao neo/aaa eiatho aeae: B^X(Rn), W^X(Rn), L^X(Rn), aaea X niauaiea, ioiineoaeueii (Rn). Aiciiaeiinoue caaeaaaoue ?acia?iinoue niauaiey i?aaeoniio?aia aeey yeiiiiee iaiyoe.?anniio?ei yoio niinia aae?anaoeee ia i?eia?a eiiaiaeu CLRB B^2(R4), eioi?ay i/enoeo 3ee aaeo aaeoiaiai ianneaa, aae?an eioi?iai niaea?aeeony a ?aaeno?a R5. Aa iaoeiiia i?aaenoaaeaiea auaeyaeeo eae 94 A4 02, aaea 94 - eiae iia?aoeee, A4 - ?aaeno? R4 e niauaiea i?aaenoaaeaii aaeoii ( aeey neiaa e aeaieiiai neiaa auei au C4 e E4 niioaaonoaaiii, a o?aouea iiea i?aaenoaaeyei au niauaiea eae neiai eee aeaieiia neiai ), a 02 nianoaaiii niauaiea, i?aaenoaaeaiiia a aeaea aaeoa.Aei iia?aoeee CLRB B^2(R4)R4 = 00001000(00001000) = 00 (R4)(00001001) = 01(00001002) = 02 (R4)+2Iinea...R4 = 00001000(00001000) = 00 (R4)(00001001) = 01(00001002) = 00 <—— 0A ?acoeueoaoa auiieiaiey eiiaiaeu aeaenoaeoaeueii i?iecioei i/euaiea y/aeee 00001002, caaeaiiie ia/aeueiui aae?anii 00001000 e niauaieai 2. Yoio ?aaeei aae?anaoeee iicaieyao eaaei ia?auaoueny e ioaeaeueiui yeaiaioai ianneaia, /oi i/aiue oaeiaii.2.7 EINAAIIUE ?AAEEI NIAUAIEssA yoii ?aaeeia niaea?aeeiia aua?aiiiai ?aaeno?a neeaaeuaaaony ni niauaieai ( aaeo, neiai eee aeaieiia neiai neaaeothuaa iaiin?aaenoaaiii ca niaoeeoeeaoi?ii iia?aiaea ) e iieo/aiiay noiia ?anniao?eaaaony eae aae?an aeaieiiai neiaa, eioi?ia yaeyaony aae?anii iia?aiaea. Iiaiiie/aneia i?aaenoaaeaiea ia annaiaea?a @B^X(Rn), @W^X(Rn) e @L^X(Rn) aeey niauaiey X a aaeo, neiai eee aeaieiia neiai niioaaonoaaiii. Rn - yoi ?aaeno?,eniieuecoaiue a aeaiiii niiniaa aae?anaoeee.A ea/anoaa i?eia?a aicueiai eino?oeoeeth MOVW @B^8(R5),(R2), eioi?ay aeieaeia caianoe a iaiyoue ii aae?ano (R2) /enei, ia eioi?ia oeacuaaao aeaieiia neiai, ii aae?ano iieo/aaiiio i?e neiaeaiee niaea?aeeiiai ?aaeno?a R2 ni niauaieai 8. Ia iaoeiiii ycuea yoa eino?oeoeey aoaeao eiaoue aeae B0 B5 08 62, aaea A0 - eiae eino?oeoeee, B5 - ?aaeno? R5 e aaeoiaia niauaiea, 08 - niauaiea e 62 - einaaiiay aae?anaoeey n eniieueciaaieai ?aaeno?a R2.Aei iia?aoeee MOVW @B^8(R5),(R2)R5 = 00001000R2 = 00000400(00001000) = 00000100 (R5)(00001004) = 00000200(00001008) = 00000300 (R5)+8(00000300) = AAAA @(R5)+8(00000400) = 0000 (R2)Iinea...R5 = 00001000R2 = 00000400(00001000) = 00000100 (R5)(00001004) = 00000200(00001008) = 00000300 (R5)+8(00000300) = AAAA(00000400) = AAAAEae aeaeii ec i?eia?a a y/aeeo 00000400 auei caianaii niaea?aeeiia y/aeee 00000300. Aae?an 0000300 aue au/eneai eae niaea?aeeiia R5 ( 00001000 ) iethn 8 o.a. 00001008. Yoa y/aeea, eae aeaeii, aeaenoaeoaeueii niaea?aeeo aae?an 00000300.2.8 ?AAEEI EI?IOEIAI EEOA?AEAOae eae iiiaea eeoa?aeu (/enea), eniieuecoaiua a i?ia?aiiao, eiatho iaaieueoie ?acia?, oi a NI1700 i?aaeoniio?ai niaoeeaeueiue ?aaeei aae?anaoeee, iacuaaaiue ?aaeeiii ei?ioeiai eeoa?aea. A yoii ?aaeeia eiinoaioa niaea?aeeony iaiin?aaenoaaiii a naiii niaoeeoeeaoi?a iia?aiaea. Ethaie niaoeeoeeaoi? iia?aiaea, aeaa noa?oeo ?ac?yaea eioi?iai ?aaiu ioeth niaea?aeeo eeoa?aeueioth eiinoaioo a ieaaeoeo oanoe ?ac?yaeao.00 ?????? <—— aaeo niaoeeoeeaoi? iia?aiaeaeeoa?aeN iiiiuueth eeoa?aea a eino?oeoeee iiaoo auoue i?aaenoaaeaiu oeaeua /enea a aeeaiaciia io 0 aei 63. Iiaiiieea ia annaiaea?a S^#n, aaea n - eeoa?ae. ?anniio?ei eino?oeoeeth MOVL S^#18,R3 eioi?ay a iaiyoe aoaeao i?aaenoaaeaia a aeaea D0 18 53. Caeanue D0 - eiae eino?oeoeee, 18 - eeoa?ae, 53 - ?aaeno? R3 i?e i?yiie aae?anaoeee.Aei iia?aoeee MOVL S^#18,R3R3 = 00001234Iinea...R3 = 00000018Ec i?eia?a aeaeii, /oi eeoa?ae aue caianai a ?aaeno? R32.9 EIAeAENIUE ?AAEEIIaeiei ec iaeaieaa iiuiuo n?aaenoa aae?anaoeee a NI1700 yaeyaony eniieueciaaiea ?aaeno?ia iauaai iacia/aiey aeey ii?aaeaeaiey eiaeaena yeaiaioa a ianneaa aeaiiuo. Aio oi?iao niaoeeoeeaoi?a eiiaiaeu:15 11 7 3 0EA?A IA? EE? IE?aaea EA?A - eiae aaciaiai ?aaeeia aae?anaoeee,IA? - iiia? aaciaiai ?aaeno?a,EE? - eiae eiaeaeniiai ?aaeeia (0100),IE? - iiia? eiaeaeniiai ?aaeno?a.Eae aeaeii ?ac?yaeu 15 - 8 niaea?aeao aoi?ie niaoeeoeeaoi? iia?aiaea, eioi?ue iacuaaaony aaciaui. Ii iiaeao ii?aaeaeyoue ethaie ?aaeei aae?anaoeee, e?iia ?aaeno?iaiai, ei?ioeiai eeoa?aea e eiaeaeniiai. Anee aaciaue niaoeeoeeaoi? o?aaoao ?anoe?aiey, oi yoi ?anoe?aiea neaaeoao iaiin?aaenoaaiii ca niaoeeoeeaoi?ii. Niaoeeoeeaoi? iau/ii ii?aaeaeyao aae?an ia/aea ianneaa, a a eiaeaeniii ?aaeno?a Rx niaea?aeeony iiia? yeaiaioa ianneaa. I?e ii?aaeaeaiee yooaeoeaiiai aae?ana iia?aiaea nia/aea au/eneyaony aaciaue aae?an ianneaa eee oaaeeoeu. Caoai niaea?aeeiia eiaeaeniiai ?aaeno?a oiiiaeaaony ia 1, 2, 4 eee 8, a caaeneiinoe io ?acia?a iia?aiaea e i?eaaaeyaony e aaciaiio aae?ano. Eniieuecoy yoio ?aaeei aae?anaoeee niaianoii n oaea iienaiiuie iiaeii iieo/eoue neaaeothuea ?aaeeiu aae?anaoeee :Einaaiii-?aaeno?iaue eiaeaeniue, (Rn)[Rx].N aaoioaaee/aieai eiaeaeniue, (Rn)+[Rx].Einaaiiue n aaoioaaee/eieai eiaeaeniue, @(Rn)+[Rx].N aaoioiaiueoaieai eiaeaeniue, -(Rn)[Rx].Niauaiey eiaeaeniue, N^X(Rn)[Rx], aaea N iiaeao i?eieiaoue cia/aiey B, W, L.Einaaiiue niauaiey eiaeaeniue, @N^X(Rn)[Rx]I?e ?aaioa ni no?oeoo?aie aeaiiuo eiaeaeniue ?aaeei ai?acaei oaeiaiaa, /ai i?inoi ?aaeei niauaiey. Ai-ia?auo, caeanue eiaaony iiuiue ?aaeei caaeaiey ia/aeueiiai aae?ana ianneaa n iiiiuueth iaeiiai ec iniiaiuo ?aaeeiia aae?anaoeee, /oi iicaieyao eaaei iiaeeoeoee?iaaoue yoio aae?an. Ai aoi?uo, i?ia?aiieno a eiaeaeniii ?aaeno?a [Rx] oeacuaaao oieueei iiia? yeaiaioa, a iaiaoiaeeiia niauaiea au/eneyaony aaoiiaoe/anee ec eiioaenoa iia?aiaea. Oae, eino?oeoeey CLRB B^2(R4), ?aaeecothuay ?aaeei niauaiey ( ioieo 2.6 ) iiaeao auaeyaeaoue eae CLRB (R0)[R4] e anee a R0 iaoiaeeony aae?an ianneaa, a a R4 niauaiea, oi iia aiaeiae/ii ia?aie eino?oeoeee i/enoeo 3ee yeaiaio ianneaa.Aei iia?aoeee CLRB (R0)[R4]R0 = 00001000R4 = 00000002(00001000) = 00 (R0)(00001001) = 01(00001002) = 02 (R0)+[R4]*1Iinea...R0 = 00001000R4 = 00000002(00001000) = 00 (R0)(00001001) = 01(00001002) = 00 <—— 0I?eia? aeieacuaaao aaniethoioth eaeaioe/iinoue yoeo eino?oeoeee.2.10 ?AAEEIU AAe?ANAOeEE N ENIIEUeCIAAIEAI N*AO*EEA EINO?OEOeEE.Iaeiei ec iaoaeianoa iienaiiuo auoa niiniaia aae?anaoeee yaeyaony oi, /oi ai anao ieo o?aaoaony i?aaeaa?eoaeueiay caa?ocea iaeiiai ec ?aaeno?ia iauaai iacia/aiey. Oieueei iinea oiai, eae ?aaeno? caa?oaeai, niaea?aeeiia aai iiaeao auoue eniieueciaaii a ea/anoaa oeacaoaey ia/aea ianneaa, aae?ana yeaiaioa e o.ae. I?e iaeiie?aoiii ia?auaiee e i?iecaieueiie y/aeea oaeie niinia yaeyaony iaoaeiaiui e iayooaeoeaiui, oae eae o?aaoao ii nooe auiieiaiey aeaoo iia?aoeee aianoi iaeiie - i?aaeaa?eoaeueiie caa?ocee aae?ana a ?aaeno? e nianoaaiii ia?auaiea e iaiyoe /a?ac yoio ?aaeno? n iiiiuueth iaeiiai ec ?aaeeiia aae?anaoeee. Iaeiaei yoo iia?aoeeth iiaeii ?aaeeciaaoue ai?acaei i?iua, anee eniieueciaaoue n/ao/ee eino?oeoeee. ?aaeno? R15 yaeyaony n/ao/eeii eino?oeoeee, e iaeiia?aiaiii ?aaeno?ii iauaai iacia/aiey, oi anoue aeinooiai i?ia?aiienoo aeey eniieueciaaiey a ea/anoaa aaciaiai ?aaeno?a e o.ae. Yoi i/aiue oi?iuaao aeeciue i?ia?aiienoo, iaeiaei o?aaoao iiauoaiiie aieiaoaeueiinoe,oae eae eniieueciaaiea yoiai ?aaeno?a iai?eia? i?e aae?anaoeee n aaoioiaiueoaieai i?eaaaeao e iai?aaeneacoaiiio ?acoeueoaoo. Oaeoe/anee ni n/ao/eeii eino?oeoeee eniieuecothony oieueei /aou?a ?aaeeia aae?anaoeee: n aaoioaaee/aieai, einaaiiue n aaoioaaee/aieai, niauaiey e einaaiiue niauaiey. Yoi aeaao n oi/ee c?aiey i?ia?aiienoa ( ii ia aiia?aoii ) /aou?a aeiiieieoaeueiuo ?aaeeia aae?anaoeee: iaiin?aaenoaaiiue, aaniethoiue, ioiineoaeueiue e einaaiii-ioiineoaeueiue.?anniio?ei aeai?eoi auiieiaiey ?aaeeia n aaoioaaee/aieai i?e eniieueciaaiee n/ao/eea eino?oeoeee a ea/anoaa ?aaeno?a iauaai iacia/aiey. Ii ii?aaeaeaieth ?aaeeia n aaoioaaee/aieai iia?aoeey i?iecaiaeeony iaae iia?aiaeii, ia eioi?ue oeacuaaao aua?aiiue ?aaeno?. Anee iu eniieuecoai n/ao/ee eino?oeoeee, oi ii a yoio iiiaio aoaeao oeacuaaoue ia y/aeeo iaiin?aaenoaaiii neaaeothuoth ca niaoeeoeeaoi?ii iia?aiaea. Oaeei ia?acii iia?aiae ieacuaaaony iaiin?aaenoaaiii a iioiea eino?oeoeee. Iinea auai?ee iia?aiaea niaea?aeeiia n/ao/eea oaaee/eony ia ?acia? iia?aiaea, ii?aaeaeyaiue eiaeii iia?aoeee. Aeeeia eiinoaiou aeieaeia niioaaonoaiaaoue oeio eino?oeoeee, aeaaea anee aa oaeoe/aneee ?acia? iaiueoa, oieueei oiaaea iinea aaoioaaee/aiey niaea?aeeiiai n/ao/eea eino?oeoeee ii aoaeao niaea?aeaoue i?aaeeueiue aae?an neaaeothuae eiiaiaeu. Aeey i?eia?a ?anniio?ei eino?oeoeeth MOVB #10,(R2)Aei iia?aoeee MOVB #10,(R2)00000305 : 90 EII00000306 : 8F <——— i?aaenoaaeaiea '(R15)+'00000307 : 10 <——— eiinoaioa00000308 : 62 <——— i?aaenoaaeaiea '(R2)'R2 = 00001000R15 = 00000305(00001000) = FF (R2)Iinea...R2 = 00001000R15 = 00000309(00001000) = 10 (R2)I?e eiiieeyoeee eino?oeoeey MOVB #10,(R2) auea caiaiaia ia MOVB (R15)+(R2), a eiinoaioa auea iiiauaia a iioie eino?oeoeee, e auea oniaoii aae?aniaaia e neiie?iaaia ii aae?ano (00001000).Anee eniieueciaaoue einaaiiue ?aaeei n aaoioaaee/aieai, oi ii ii?aaeaeaieth ?aaeeia niaea?aeeiia n/ao/eea eino?oeoeee yaeyaony ia aae?anii iia?aiaea, a aae?anii aae?ana iia?aiaea, a iinea auiieiaiey eino?oeoeee cia/aiea n/ao/eea oaaee/eony ia 4, oae eae iu ia?aaeaai 32-?ac?yaeiua aae?ana. Oaeei ia?acii iu eiaai aiciiaeiinoue caaeaoue i?yii a eiaea eino?oeoeee aaniethoiue aae?an iia?aiaea. Anee a i?aaeuaeouai i?eia?a eniieueciaaoue yoio i?eia?, oi ii aae?ano (00001000) aoaeao caianaii ia /enei 10, a cia/aiea y/aeee 10. Ia annaiaea?a oaeay eino?oeoeey aoaeao eiaoue iiaiiieeo MOVB @#10,(R2):Aei iia?aoeee MOVB @#10,(R2)00000305 : 90 EII00000306 : 9F <——— i?aaenoaaeaiea '@(R15)+'00000307 : 1000000308 : 0000000309 : 000000030A : 000000030B : 62 <——— i?aaenoaaeaiea '(R2)'R2 = 00001000R15 = 00000305(00000010) = 00(00001000) = FF (R2)Iinea...R2 = 00001000R15 = 00000309(00000010) = 00(00001000) = 00 <——— 0Anoue ii?aaeaeaiiue eeann i?ia?aii, eioi?ua iacuaathony iiceoeeiiii-iacaaeneiuie. Iie iiaoo auoue caa?oaeaiu e caiouaiu a ethaie iaeanoe iaiyoe aac ia?ao?aineyoeee, ia?aeeieiaee eee iiaeeoeeaoeee aae?ania iia?aiaeia. I?e ia?aiauaiee a iaiyoe i?ia?aiiu, eniieuecothuae einaaiii-?aaeno?iaue ?aaeei aae?anaoeee aae?an aae?anoaiie y/aeee ia eciaiyaony. Anee aeaiiua a iaiyoe ia?aiauathony aianoa n i?ia?aiiie, eae yoi /aua anaai auaaao, oi aae?aniaaoueny aoaeoo nianai ia oa aeaiiua, eioi?ua aeieaeiu au. *oi aeaeaoue a oaeeo neo/ayo ? ?anniio?ei eae eniieueciaaoue n/ao/ee eino?oeoeee a ?aaeeia ni niauaieai. Niaea?aeeiia ?aaeno?a n/ao/eea eino?oeoeee neeaaeuaaaony ni niauaieai, eioi?ia ?aniieiaeaii iaiin?aaenoaaiii a iioiea eino?oeoeee. Iieo/aiiay noiia yaeyaony aae?anii iia?aiaea. I/aaeaeii, /oi a yoii neo/aa aeaiiua aoaeoo aae?aniaaoueny i?aaeeueii, oae eae anee iiaeia?aoue niauaiea ?aaiia ?acieoea iaaeaeo aae?anii iia?aiaea e aae?anii oaeouae eiiaiaeu, oi yoa ?aciinoue anaaaea aoaeao iinoiyiiie. Yoio ?aaeei aae?anaoeee iacuaaaony ioiineoaeueiui e ia annaiaea?a caienuaaaony i?inoi eae Addr, aaea Addr - aae?an iia?aiaea. ?anniio?ei auiieiaiea eino?oeoeee MOVB 10,(R2)Aei iia?aoeee MOVB 10,(R2)00000305 : 90 EII00000306 : CF <——— i?aaenoaaeaiea '@(R15)'00000307 : 07 io?eoeaoaeueiia niauaiea (309-10),00000308 : FD i?aaenoaaeaiiia a aeii. eiaea00000309 : 62 <——— i?aaenoaaeaiea '(R2)'R2 = 00001000R15 = 00000305(00000010) = 00(00001000) = FF (R2)Iinea...R2 = 00001000R15 = 0000030A <——— + 5(00000010) = 00(00001000) = 00 <——— 0Ioiaoei, /oi niauaiea a aeaiiii i?eia?a io?eoeaoaeueiia e i?aaenoaaeaii a aeiiieieoaeueiii eiaea. Aeeeia niauaiey e niioaaonoaothuee eiie?aoiue eiae ?aaeeia au/eneyaony aaoiiaoe/anee ia yoaia eiiieee?iaaiey. Anee eniieueciaaoue n/ao/ee eino?oeoeee a einaaiiii ?aaeeia ni niauaieai, oi iieo/ei aua iaeei niinia aae?anaoeee, eioi?ue iacuaaaony einaaiii-ioiineoaeueiui. Caeanue noiia niaea?aeeiiai n/ao/eea eino?oeoeee neeaaeuaaaony ni niauaieai e ?anniao?eaaaony eae aae?an aae?ana iia?aiaea. Aeey i?ia?aiienoa yoio ?aaeei yaeyaony i?inoi ?aaeeiii einaaiiie aae?anaoeee n eniieueciaaieai i?iecaieueiie y/aeee aeey o?aiaiey aae?ana. Eae e a i?aaeuaeouai i?eia?a niauaiea aeieaeii auoue ?aaii ?acieoea iaaeaeo aae?anii aeaiiie y/aeee e oaeouei iieiaeaieai eino?oeoeee. Ia annaiaea?a yoio ?aaeei iaicia/aaony @Addr, aaea Addr - aae?an y/aeee, a eioi?ie iaoiaeeony aae?an iia?aiaea. ?anniio?ei eino?oeoeeth MOVB @10,(R2):Aei iia?aoeee MOVB @10,(R2)00000305 : 90 EII00000306 : CC <——— i?aaenoaaeaiea '@W^FD7(R15)'00000307 : 07 io?eoeaoaeueiia niauaiea (309-10),00000308 : FD i?aaenoaaeaiiia a aeii. eiaea00000309 : 62 <——— i?aaenoaaeaiea '(R2)'R2 = 00001000R15 = 00000305(00000000) = EE (00000010)(00000010) = 00(00001000) = FF (R2)Iinea...R2 = 00001000R15 = 0000030A <—— + 5(00000000) = EE(00000010) = 00(00001000) = EE <—— EE2.11 AAe?ANAOeEss IA?AOIAeIA.Iineaaeiee niinia aae?anaoeee, eioi?ue aoaeao ?anniio?ai - yoi aae?anaoeey ia?aoiaeia. Aio oi?iao eino?oeoeee oneiaiiai ia?aoiaea:7 0EIAe IIA?AOeEENIAUAIEAAae?anaoeey a yoeo eino?oeoeeyo ioee/aaony io anao ?anniao?eaaaiuo oai, /oi caeanue iao niaoeeoeeaoi?a iia?aiaea. Eaaeaeay eino?oeoeey oneiaiiai ia?aoiaea ninoieo ec eiaea iia?aoeee e neaaeothuaai ca iei aaeoiiai niauaiey ni ciaeii. I?e oi?ie?iaaiee aae?ana ia?aoiaea niauaiea neeaaeuaaaony n niaea?aeeiui n/ao/eea eino?oeoeee iiaeiaii oiio, eae yoi aeaeaeinue i?e ioiineoaeueiie aae?anaoeee. Ii/aio anaai 128 aaeo ? Yoi iaoneiaeaii oai, /oi aieueoeinoai ia?aoiaeia aae?aniaaiu e y/aeeai, iaoiaeyueiny ia iaaieueoii ?annoiyiee io naiie eino?oeoeee ia?aoiaea. Eeoue a iaeioi?uo neo/ayo o?aaoaony eniieueciaaiea aieaa yooaeoeaiuo ?aaeeiia aae?anaoeee.3. NENOAIU AAe?ANAOeEE ENIIEUeCOAIUA A IYAINenoaiu aae?anaoeee eniieuecoaiua a ia?niiaeueiuo YAI aoaeoo ?anniio?aiu ia i?eia?a 32-?ac?yaeiiai i?ioeanni?a 80386 oe?iu Intel. Ana /oi eanaaony yoiai i?ioeanni?a, nenoaiu aai eiiaiae e niiniaia aae?anaoeee iiaeii oae aea ioianoe e 386-ui i?ioeanni?ai oe?i Cyrix e AMD (Advanced Micro Devices), eioi?ua iieiinoueth niaianoeiu n I80386. II 80386 i?aaenoaaeyao niaie aunieii?iecaiaeeoaeueiue 32-?ac?yaeiue iee?ii?ioeanni?, auiieiythuee 3-4 IIIN (MIPS). Ii ioee/aaony iieiie 32-?ac?yaeiie a?oeoaeoo?ie n oece/aneei aae?aniui ino?ainoaii 4 Aaaeo e ano?iaiiuie n?aaenoaaie no?aie/iie ae?ooaeueiie iaiyoe, II 80386 iiaeao aae?aniaaoue 64 Oaaeo ae?ooaeueiie iaiyoe. Nenoaia eiiaiae II 80386 niaea?aeeo 9 eaoaai?ee eiiaiae: ia?anueee aeaiiuo, a?eoiaoe/aneeo, naeaeaa, ia?aaioee no?ie, ia?aaioee aeoia, ia?aaea/e oi?aaeaiey, iiaeaea?aeee ycueia aunieiai o?iaiy, iiaeaea?aeee iia?aoeeiiiie nenoaiu e oi?aaeaiey i?ioeanni?ii. Aeeeia eiiaiaeu a n?aaeiai ninoaaeyao 2-3 aaeoa. Iia?aiaeu iiaoo eiaoue aeeeio 8,16 eee 32 ?ac?yaea.II 80386 ?aaeecoao naaiaioioth i?aaiecaoeeth iaiyoe, i?e eioi?ie oece/aneee aae?an y/aeee au/eneyaony iooai neiaeaiey aaciaiai aae?ana naaiaioa e ioiineoaeueiiai aae?ana y/aeee aioo?e naaiaioa. Aaciaue aae?an ii?aaeaeyaony niaea?aeeiui 16-?ac?yaeiiai naaiaioiiai ?aaeno?a e caaeneo io ?aaeeia ?aaiou iee?ii?ioeanni?a. Anee iee?ii?ioeanni? ?aaioaao a ?aaeeia ia?aaioee 16-?ac?yaeiuo aeaiiuo ( ?aaeei ?aaeueiuo aae?ania eee ?aaeei ae?ooaeueiiai i?ioeanni?a 8086), oi 20-?ac?yaeiue aaciaue aae?an oi?ie?oaony iooai naeaeaa niaea?aeeiiai naaiaioiiai ?aaeno?a ia /aou?a ?ac?yaea aeaai. O.a. anee a naaiaioiii ?aaeno?a niaea?aeeony /enei 45F7, oi aaciaue aae?an aoaeao 45F70. Anee iee?ii?ioeanni? ?aaioaao a ?aaeeia ia?aaioee 32-?ac?yaeiuo aeaiiuo ( caueuaiiue ?aaeei ), oi 32-?ac?yaeiue aaciaue aae?an niaea?aeeony a aeane?eioi?a, auai? eioi?iai ec oaaeeoeu aeane?eioi?ia inouanoaeyaony n iiiiuueth naeaeoi?a - niaea?aeeiiai niioaaonoaothuaai naaiaioiiai ?aaeno?a. A caaeneiinoe io oeia ia?auaiey e iaiyoe i?iecaiaeeony auai? naaiaioiiai ?aaeno?a e niiniaa ii?aaeaeaiey ioiineoaeueiiai aae?ana. Aeey iaeioi?uo niiniaia ia?auaiey e iaiyoe aiciiaeiu aa?eaiou auai?a naaiaioiuo ?aaeno?ia. Yoe aa?eaiou iiaoo auoue aua?aiu n iiiiuueth i?aoeena caiaiu naaiaioa SEG. Ia iiaiiieea annaiaea?a yoi auaeyaeeo i?inoi eae DS:[?], ES:[?], CS:[?], FS:[?] e o.ae. A ea/anoaa ioiineoaeueiiai aae?ana eniieuecoaony niaea?aeeiia ?aaeno?ia EIP(IP), ESP(SP), ESI(SI), EDI(DI) eee yooaeoeaiue aae?an EA, eioi?ue oi?ie?oaony a niioaaonoaee n caaeaiiui niiniaii aae?anaoeee (einaaiiue, eiaeaeniue e o.ae.).1. Auai?ea eiiaiae.Naaiaioiue ?aaeno? CS ( Code Segment )Ioiineoaeueiue aae?an EIP(IP) ( Instruction Pointer )2. Ia?auaiea e noaeo.Naaiaioiue ?aaeno? SS ( Stack Segment )Ioiineoaeueiue aae?an ESP(SP) ( Stack Pointer )3. Aae?anaoeey iia?aiaea.Naaiaioiue ?aaeno? DS eee (CS,SS,ES,FS,GS)Ioiineoaeueiue aae?an EA4. Aae?anaoeey yeaiaioa no?iee-enoi/ieea.Naaiaioiue ?aaeno? DS eee (CS,SS,ES,FS,GS)Ioiineoaeueiue aae?an ESI(SI)5. Aae?anaoeey yeaiaioa no?iee-i?eaiieea.Naaiaioiue ?aaeno? ESIoiineoaeueiue aae?an EDI(DI)6. Aae?anaoeey iia?aiaea n eniieueciaaieai a ea/anoaa aaciaiai ?aaeno?a EBP(BP) eee ESP(SP).Naaiaioiue ?aaeno? SS eee (CS,DS,ES,FS,GS)Ioiineoaeueiue aae?an EAYooaeoeaiue aae?an iia?aiaea EA yaeyaony 16- eee 32-?ac?yaeiui e oi?ie?oaony a caaeneiinoe io cia/aiey ii?aaeaeaiiuo iieae a i?aaenoaaeaiee eiiaiaeu. A iauai neo/aa EA ia?acoaony iooai neiaeaiey o?ao eiiiiiaio:niaea?aeeiiai aaciaiai ?aaeno?a EBP(BP) eee EBX(BX);niaea?aeeiiai eiaeaeniiai ?aaeno?a ESI(SI) eee EDI(DI);8-, 16- eee 32-?ac?yaeiiai niauaiey, caaeaiiiai iaiin?aaenoaaiii a eiiaiaea.A ?aciuo neo/ayo aeey oi?ie?iaaiey EA eniieuecothony eeai ana eeai /anoue yoeo neaaaaiuo. Oaia?ue ?anniio?ei eiie?aoiua niiniau aae?anaoeee.3.1 IAIIN?AAeNOAAIIAss AAe?ANAOeEss.A ea/anoaa iia?aiaea eniieuecoaony iaeei, aeaa eee /aou?a iineaaeieo aaeoa eiiaiaeu. Oaeie niinia aae?anaoeee ?aaeecoaony i?e auiieiaiee ?yaea eiiaiae ia?anueee (MOV, PUSH), a?eoiaoe/aneeo iia?aoeeyo (ADD, ADC, SUB, SBB, CMP, IMUL), e eiae/aneeo (AND, OR, XOR, TEST). ?anniio?ei i?inoie i?eia? - oiiiaeaiea niaea?aeeiiai ?aaeno?a ia eiinoaioo:?aaeno?u aei auiieiaiey IMUL AX,5AX = 10Iinea...AX = 503.2 ?AAENO?IAAss AAe?ANAOeEss.I?e yoii niiniaa aae?anaoeee iia?aiaeii aa?aony niaea?aeeiia ?aaeno?a. Iai?eia? aeey iia?aoeee caianaiey ia noae ?aaeecaoeey ?aaeno?iaiai niiniaa aae?anaoeee aoaeao auaeyaeaoue eae PUSH DS.?aaeno?u aei auiieiaiey PUSH DSDS = 5678hSP = FFFEhSS:FFFE = 0000hIinea...DS = 5678SP = FFFDhSS:FFFD = 5678SS:FFFE = 0000Eae aeaeii ec i?eia?a cia/aiea ?aaeno?a DS auei caianaii ia noae.3.3 EINAAIII-?AAENO?IAAss AAe?ANAOeEss.I?e oaeie aae?anaoeee ioiineoaeueiue aae?an niaea?aeeony a eiaeaeniii (SI, DI, ESI, EDI) eee aaciaii ( BX, BP, EBX, EBP) ?aaeno?ao eee a ?aaeno?ao iauaai iacia/aiey EAX, ECX, EDX. Aae?an iia?aiaea au/eneyaony eae naaiaio:niauaiea. Niauaiea i?aaenoaaeaii yooaeoeaiui aae?anii.Aeey i?eia?a ?anniio?ei eiiaiaeo MOV EBX,[EDI], eioi?ay ia?anueaao niaea?aeeiia y/aeee DS:[EDI] a ?aaeno? EBX. ( A ea/anoaa ?acia?a iia?aiaea aa?aony aeaieiia neiai - 4 aaeoa.?aaeno?u aei auiieiaiey MOV EBX,[EDI]EBX = 5678hEDI = 0100hDS:0100h = 1221h (edi)Iinea...EBX = 1221h <——— 1221hEDI = 0100hDS:0100h = 1221hI?eia? a eiiiaioa?eyo ia ioaeaeaaony. *enei, aae?an eioi?iai DS:EDI auei oniaoii caianaii a ?aaeno? EBX. ?aaeno? DS eniieueciaaeny ii oiie/aieth.3.4 I?ssIAss AAe?ANAOeEss.I?e yoii niiniaa aae?anaoeee niauaiea a naaiaioa aei iia?aiaea caaeaii a aeaea neiaa eee aeaieiiai neiaa a eiaea eiiaiaeu. Aeey i?eia?a aicueiai iia?aoeeth MOV EAX,[1994h], ia?anueathuoth aeaieiia neiai ii aae?ano DS:1994 a ?aaeno? EAX.?aaeno?u aei auiieiaiey MOV EAX,[1994h]EAX = 0000hDS:1994h = 5000hIinea...EAX = 5000h <—— 5000hDS:1994h = 5000hEc i?eia?a aeaeii, /oi /enei, i?yii aae?aniaaiiia eae ds:[1994h] auei neiie?iaaii a caaeaiiue ?aaeno?.3.5 AACIAAss AAe?ANAOeEss.Ioiineoaeueiue aae?an iia?aiaea oi?ie?oaony i?e neiaeaiee niaea?aeeiiai aaciaiai ?aaeno?a n iaiin?aaenoaaiiui niauaieai. Niauaiea iiaeao auoue i?aaenoaaeaii neiaii eee aeaieiui neiaii. ?anniio?ei eino?oeoeeth ADD AX,[BP+10h], eioi?ay e niaea?aeeiiio ?aaeno?a AX i?eaaaeyao /enei, aae?an eioi?iai DS:[BP+10h]...?aaeno?u aei auiieiaiey ADD AX,[BP+10h]AX = 0067hBP = 0100hDS:0100h = 0000h (bp)DS:0101h = 0001h· · · · · ·DS:0109h = 0009hDS:0110h = 0010h (bp+10h)Iinea...AX = 0077h <—— (67h+10h = 77h)BP = 0100hDS:0100h = 0000hDS:0101h = 0001h· · · · · ·DS:0109h = 0009hDS:0110h = 0010hEae aeaeii ec i?eia?a, e niaea?aeeiiio BP auei aeiaaaeaii 10h e iieo/eeinue niauaiea 110h, ii eioi?iio e auei acyoi /enei, i?eaaaeaiiia e AX.3.6 EIAeAENIAss AAe?ANAOeEss.I?eia?ii oiaea naiia, /oi e aaciaay aae?anaoeey, iaeiaei caeanue e eniieuecothony eiaeaeniua ?aaeno?u ( SI,DI ) e niauaiea caaeaiiia aaeoii eee neiaii. I?e oi?ie?iaaiee 32-?ac?yaeiuo aae?ania, a ea/anoaa aaciaiai eee eiaeaeniiai iiaeao eniieueciaaoueny ethaie ec ?aaeno?ia EAX, ECX, EDX, EBX, EBP, ESI, EDI.. Aeey i?eia?a aicueiai eino?oeoeeth MOV WORD PTR ES:[DI+2],AX, eioi?ay ii aae?ano ES:[DI+2] caoeao neiai ec AX.?aaeno?u aei auiieiaiey MOV WORD PTR ES:[DI+2],AXAX = 0099hDI = 000DhES:000Dh = 0000h (di)ES:000Fh = 0000h (di+2)Iinea...AX = 0099hDI = 000DhES:000Dh = 0000hES:000Fh = 0099h <—— 99hAae?an y/aeee ES:000Fh aue iin/eoai eae niaea?aeeiia DI iethn 2 = F. *enei 99h ec ?aaeno?a AX oniaoii neiie?iaaii a yoo y/aeeo iaiyoe.3.7 AACIAI-EIAeAENIAss AAe?ANAOeEss.I?e eniieueciaaiee yoiai niiniaa ioiineoaeueiue aae?an ia?acoaony iooai neiaeaiey niaea?aeeiuo aaciaiai ( BX,BP ) e eiaeaeniiai ( SI,DI ) ?aaeno?ia. Iai?eia? aeey iia?aoeee MOV AX,[BP+SI] iu iieo/ei:?aaeno?u aei auiieiaiey MOV AX,[BP+SI]AX = 00AAhBP = 0100hSI = 0050hDS:0100h = 0001h (bp)DS:0150h = 0002h (bp+si)Iinea...AX = 0002h <—— 02hBP = 0100hSI = 0050hDS:0100h = 0001hDS:0150h = 0002hAae?an y/aeee DS:0150h iieo/ai iooai neiaeaiey cia/aiee ?aaeno?ia BP e SI, iinea /aai /enei ec yoie y/aeee iaiyoe aue caa?oaeai a ?aaeno? AX.3.8 AACIAI-EIAeAENIAss AAe?ANAOeEss NI NIAUAIEAI.Yoi aa?eaio aaciai eiaeaeniie aae?anaoeee, i?e eioi?ii e ioiineoaeueiiio aae?ano i?eaaaeyaony 8- eee 16-?ac?yaeiia niauaiea. Aeiiieieoaeueiua niiniau aae?anaoeee ?aaeecothony i?e eniieueciaaiee 32-?ac?yaeiuo aae?ania, eiaaea caaeaii niaoeeaeueiia iiea (SIB) a eiaea eiiaiaeu. Oiaaea aiciiaeiu eiino?oeoeee oeia [EAX+EBX], [EAX+EAX], [ECX+EDX], A ea/anoaa eiaeaeniiai ?aaeno?a iiaeii eniieueciaaoue ethaie ?aaeno? e?iia ESP. Niaea?aeeiia yoiai ?aaeno?a oiiiaeaaony ia ianooaaiue eiyooeoeeaio F o.a. naeaeaaaony aeaai ia /enei ?ac?yaeia 0,1,3 eee 4. Cia/aiea F caaeneo io ?acia?a aeaiiuo. Aeey i?eia?a ?anniio?ei eino?oeoeeth MOV EAX,[EAX+EAX].?aaeno?u aei auiieiaiey MOV EAX,[EAX+EAX]EAX = 0010hDS:0010h = 000Ah (eax)DS:0020h = 000Bh (eax+eax)Iinea...EAX = 000Bh <—— 0BhDS:0010h = 000AhDS:0020h = 000BhAaciaue aae?an aa?aony ec EAX, neeaaeuaaaony ni niauaieai ec EAX e aeaieiia neiai ii aae?ano DS:0020h caiineony a EAX.3.9 EIAeAENIAss AAe?ANAOeEss N IANOOAAE?IAAIEAII?e eniieueciaaiee yoiai niiniaa aae?anaoeee ioiineoaeueiue aae?an oi?ie?oaony i?e neiaeaiee ianooaae?iaaiiiai eiaeaena ( niaea?aeeiiai eiaeaeniiai ?aaeno?a ) e 32-?ac?yaeiiai niauaiey. Iiyniei eaeath ianooaae?iaaiey eiaeaena: niaea?aeeiia eiaeaeniiai ?aaeno?a oiiiaeaaony ia ianooaaiue eiyooeoeeaio, /oiau i?aaeeueii aae?aniaaoue aeaiiua ?acia?ii aieaa iaeiiai aaeoa. Aeey i?eia?a ?anniio?ei o?aaiaio i?ia?aiiu, inouanoaeythuae ?aaioo n oeaii/eie aeaieiuo-neia.Start: jmp BeginVar dd 5 dup (0)Begin:mov edi,2 ; 1mov [Var+edi*4],12345678h ; 2Ia?aiaiiay Var i?aaenoaaeyao niaie iannea ec 5 32-?ac?yaeiuo neia. A no?iea 1 iu caiinei a eiaeaeniue ?aaeno? 2, eiay aaeaeo ia?aaioeo aoi?iai yeaiaioa ianneaa, a aeaeaa a no?iea 2 iu caiinei ai aoi?ie yeaiaio /enei 1234567h. Ia ianeaea yoi auaeyaeaei-au eae Y[2]:=$1234567 Anee au iu ia i?iecaaee ianooaae?iaaiea, oi /enei 1234567h auei-au caianaii ii aae?ano [Y+2], a i?e ianooaae?iaaiee ?aaeueiue aae?an aue au/eneai eae [Y+2*4] o.a. [Y+8] e /enei iiiaei "ii aae?ano". Eniieueciaaiea ianooaae?iaaiey eiaao ia?iiioth ?ieue i?e ?aaioa n ianneaaie neia e aeaieiuo neia, ecaaaeyy i?ia?aiienoa io iaiaoiaeeiinoe aeiiieieoaeueiiai eiaeaene?iaaiey ia?aiaiiuo e ?aaiou n oaeaiaiiuie e o/aoaa?aiiuie eiaeaenaie yeaiaioia. Ana yoi ca iaai auiieiyao i?ioeanni?, nie?auay e ?acia? eiaea e nei?inoue aai auiieiaiey.3.10 AACIAI-EIAeAENIAss AAe?ANAOeEss N IANOOAAE?IAAIEAIIoiineoaeueiue aae?an oi?ie?oaony neiaeaieai ianooaae?iaaiiiai eiaeaena e aacu, a ea/anoaa eioi?ie eniieuecoaony niaea?aeeiia iaeiiai ec ?aaeno?ia EAX,EBX,ECX,EDX,ESI eee EDI. I?eaaaeai i?eia? oaeie aae?anaoeee aeaiiuo: Eino?oeoeey MOV [EAX+EDI*4],666h iiianoeo /enei 666h ii aae?ano EAX iethn o/aoaa?aiiia niaea?aeeiia EDI.?aaeno?u aei auiieiaiey MOV [EAX+EDI*4],666hEAX = 0100hEDI = 0002hDS:0100h = 000Ah (eax)DS:0104h = 000BhDS:0108h = 000Ch (eax+edi*4)Iinea...EAX = 0100hEDI = 0002hDS:0100h = 000Ah (eax)DS:0104h = 000BhDS:0108h = 0666h <—— 666hIanooaae?iaaiea iicaieeei aae?aniaaoue eiaiii 2-a 32-?ac?yaeiia neiai, a ia caienaoue /enei 666h ii aae?ano EAX+2 o.a. 102h, eioi?ue iiiaaeaao ii na?aaeeia aeaoo yeaiaioia ianneaa.3.11 AACIAI-EIAeAENIAss AAe?ANAOeEss NI NIAUAIEAI E IANOOAAE?IAAIEAIYoio niinia aae?anaoeee ?anniio?ai a ioieoa 3.6 i?e eniieueciaaiee 32-?ac?yaeiie aae?anaoeee. Iiyoiio i?eaaaeai eeoue i?eia? eino?oeoeee e iieoai aa aeaenoaey. Eino?oeoeey INC [EAX+EDI*4+12345678h] oaaee/eo ia aaeeieoeo /enei, aae?an eioi?iai au/eneyaony, eae aaciaue iethn 32-?ac?yaeiia niauaiea 12345678h e iethn ianooaae?iaaiiue ii iniiaaieth 4 eiaeaen, niaea?aeaueeny a ?aaeno?a EDI.3.12 IOIINEOAEUeIAss AAe?ANAOeEssIoiineoaeueiay aae?anaoeey eniieuecoaony a iee?ii?ioeanni?a 80386 i?e auiieiaiee ?yaea eiiaiae oi?aaeaiey ( oneiaiua e aaconeiaiua ia?aoiaeu, auciau iiaei?ia?aii, oi?aaeaiea oeeeeaie e o.ae. ), /oiau aae?aniaaoue y/aeeo iaiyoe, niaea?aeauoth neaaeothuoth eiiaiaeo. I?e yoii niiniaa aae?an oi?ie?oaony eae noiia niaea?aeeiiai ?aaeno?a EIP(IP) ( instruction pointer - oeacaoaeue eino?oeoeee ), niioaaonoaothuaai oaeouae eiiaiaea, e 8-, 16- eee 32-?ac?yaeiiai niauaiey, ii?aaeaeythuaai iieiaeaiea neaaeothuae eiiaiaeu, ioiineoaeueii oaeouae. Iai?eia? ?anniio?ei iia?aoeeth aaconeiaiiai ia?aoiaea a i?eaaaeaiiii o?aaiaioa:..mov ax,5jmp @1sub ax,[email protected]: mov bx,ax..Aaconeiaiue ia?aoiae aoaeao i?aaenoaaeai eae JMP 02, o.a. ia 2 aaeoa aia?aae, iinea eino?oeoeee. SUB AX,AX caieiaao a iaiyoe neiai, cia/eo ia?aoiae aoaeao ia?aaeai ia eiiaiaeo MOV BX,AX o.a. ii aae?ano CS:IP+2. (Yoi iaiiiai oi?iuaiiue i?eia? aioo?enaaiaioiiai ia?aoiaea. Ia naiii aeaea i?e ia?aoiaeao iaiaa /ai ia 128 aaeo eniieuecoaony ei?ioeee ia?aoiae EB??90, aaea ?? - yoi ?acia? eiaea eioi?ue iaaei i?iionoeoue + 1 aaeo. Aeiiieieoaeueiue aaeo i?eaaaeyaony ca n/ao eiaea 90h neaaeothuaai ca niauaieai. Yoio eiae i?aaenoaaeyao niaie eiae eino?oeoeee NOP ( no operation ), i?enoonoaea aai aaniethoii aaniieacii, ii neiaeeeinue enoi?e/anee, e aieueoa ia eni?aaeyeinue. Aaeo ?? - yoi aaeo ni ciaeii, oae /oi ia?aoiae aiciiaeai eae aia?aae, oae e iacaae. A aio i?e ia?aoiaeao aieaa /ai ia 127 aaeo eniieuecoaony eiiaiaea E9???? , iienaiiay auoa ).4. CAEETH*AIEA. N?AAIEOAEUeIUE AIAEEC NENOAI AAe?ANAOeEE ENIIEUeCOAIUO A CM1700 E A IYAI IA AACA I?IOeANNI?A 80386.A aeaoo i?aaeuaeoueo ?acaeaeao iu i?eaaee i?eia?u e iienaee iniiaiua niiniau aae?anaoeee, eniieuecoaiua a iaoeiao aeaoo ?aciuo naiaenoa - ieie- e iee?iYAI. Eiia/ii yoi ia ana, /oi iiaeii neacaoue i nenoaiao aae?anaoeee aeey eiiiuethoa?ia yoeo naiaenoa, oai ia iaiaa iniiaiua niiniau caaeaiey aae?ania e aae?anaoeee iia?aiaeia auee ?anniio?aiu e iiaeii iiiuoaoueny i?iaiaeece?iaaoue, n?aaieoue e i?eaanoe i?eia?u eniieueciaaiey oao niiniaia aae?anaoeee, eioi?ua auee iienaiu.Aeey ia/aea, ?anniio?ei naiua i?inoua niiniau aae?anaoeee, oaeea eae ?aaeno?iaay, i?yiay, iaiin?aaenoaaiiay e ei?ioeiai eeoa?aea. I?i ?aaeno?iaoth aae?anaoeeth o?oaeii iaienaoue aieueoa, /ai oaea auei iaienaii. Anoanoaaiii, /oi yoio niinia aae?anaoeee iiaeaea?aeeaaaony e ia NI1700 e 80386 i?ioeanni?ii, eae ai?i/ai aiiaua anaie i?ioeanni?aie naiaenoaa 80o86 e iiiaeie ae?oaeie i?ioeanni?aie, eioi?ua eiatho ?aaeno?iaoth iaiyoue. Ianiio?y ia i?inoioo yoiai niiniaa aae?anaoeee, ii aeinoaoi/ii /anoi eniieuecoaony aeey iaieioeyoeee ?aaeno?aie, eo i/enoee, iiaeeoeeaoeee eo niaea?aeeiiai. ?aaeno?iaay iaiyoue ioee/aaony i/aiue aieueoie nei?inoueth, e iiyoiio aieueoeinoai au/eneaiee, iniaaiii ianeiaeiuo i?ia?aiienou iuoathony aeaeaoue a yoeo ?aaeno?ao. A ieo iiiauatho ia/aeueiua cia/aiey, i?iecaiaeyo au/eneaiey, iiaeeoeeaoeeth e eae-oi eniieuecotho iieo/aiiua ?acoeueoaou. Aeey anao yoeo aeaenoaee anoanoaaiiui yaeyaony i?eiaiaiea eiaiii ?aaeno?iaiai niiniaa aae?anaoeee. Aieueoei iiaenii?ueai ?aaeno?iaiio niiniao aae?anaoeee yaeyaony ?aaeei iaiin?aaenoaaiiie aae?anaoeee. Eiia/ii a iniiaiii ii eniieuecoaony aeey caa?ocee a ?aaeno?u ia/aeueiuo cia/aiee, ca?aiaa ecaanoiuo aae?ania, n?aaiaiey n eiinoaioie e oae aeaeaa. Ii anee eiiiooue /ooue aeoaaea, oi yoio niinia aae?anaoeee aeaao aua iiiaeanoai oaeianoa. Iai?eia? aeey ia?aoiaea ii ca?aiaa ecaanoiiio aae?ano i?aaenoaaeaiiiio a aeaea naaiaioa ni niauaieai iiaeii eniieueciaaoue oaeie eiae:push 0f000hpush 0ffffhretEiiaiaea RET aa?ao ec noaea cia/aiey naaiaioa e niauaiey, a iioii aeaeaao iaaenaaiaioiue ia?aoiae. I?aaenoaaei naaa, auiieiaiea iiaeiaiiai eiaea aac aiciiaeiinoe iiiauaoue ia aa?oeio noaea iaiin?aaenoaaiiia cia/aiea:mov ax,0f000hpush axmov ax,0ffffhpush axretEae aeaeei, auaeyaeeo yoi ia neeoeii eiiiaeoii, a n?aaiaiee n i?aaeuaeouei i?eia?ii, e iiaeaoa auoue oaa?aiu, /oi auiieiyaony yoi ia ianeieueei oaeoia aeieueoa. Yoi naiue i?inoie i?eia? i?eiaiaiey iaiin?aaenoaaiiie aae?anaoeee, ia naiii aeaea aa i?eiaiaiea ai?acaei oe?a, iniaaiii anee eioaineaii eniieuecothony ?aaioa n iia?aoeeiiiie nenoaiie, aaea ana cia/aiey, aae?ana e ia?aiao?u noaiaea?oece?iaaiu e a iniiaiii ca?aiaa ecaanoiu. Ia NI 1700 ?aaeei iaiin?aaenoaaiiie aae?anaoeee ?aaeecoaony i?ia?aiiii, n eniieueciaaieai n/ao/eea eino?oeoeee, a a iaoeiao ia aaca i386 ii ?aaeecoaony aiia?aoii. O?oaeii neacaoue /oi eo/oa, iaeiaei a NI 1700 i?aaeoniio?ai aua e ?aaeei ei?ioeiai eeoa?aea, i?aeiouanoaa eioi?iai ia?aae iau/iie iaiin?aaenoaaiiie aae?anaoeeae aeaiiuo iaiueoeo /ai 64 aanii?iu. A 80386 i?ioeanni?a ie/aai iiaeiaiiai ia i?aaeoniio?aii, oioy iiaeao auoue yoi eo/oa - ia oaaee/eaaao nenoaio eiiaiae e neaaeiaaoaeueii oi?iuaao no?oeoo?o i?ioeanni?a.I?yiay aae?anaoeey yoi oiaea aeinoaoi/ii i?inoie, ii i/aiue /anoi eniieuecoaiue eino?oiaio. *aua anaai eniieuecoaony aeey ia?auaiey e iaeeii/iui ia?aiaiiui, iaeanoyi aeaiiuo iia?aoeeiiiuo nenoai e o.ae. ?aaeeciaai e a i386 i?ioeanni?a e ia NI 1700, iiyoue aea /a?ac n/ao/ee eino?oeoeee.Aieaa neiaeiuie, iaeiaei e aieaa i?iaeoeoeaiuie yaeythony einaaiiua niiniau aae?anaoeee. Einaaiii ?aaeno?iaue, einaaiiue ni niauaieai, eiaeaeniua ?aaeeiu aae?anaoeee ?aaeeciaaiu a iieiie ia?a e ia NI 1700 e a IYAI. Iie aeatho iaeaieueoee yooaeo i?e ia?aaioea ianneaia, oaaeeoe, ?acee/iiai ?iaea nieneia. Aeey n?aaiaiey i?eaaaeai oaaeeoeo aiaeiae/iuo ii niuneo eino?oeoeee NI 1700 e i?ioeanni?a 80386.1. Einaaiii ?aaeno?iaue.NI 1700 MOVB R1,(R2)i386 MOV [EBX],EAX2. Niauaiey.NI 1700 MOVB W^32769(R4),R1i386 MOV EAX,[EDX+32769]3. Einaaiiue niauaiey.NI 1700 MOVW @B^8(R5),(R2)i386 MOV ESI,[EDI+8]MOV AX, word ptr [ESI]MOV word ptr [EDX],AX4. Einaaiii ?aaeno?iaue eiaeaeniue.NI 1700 MOVB (R1)[R2],R3i386 MOV CX,[BP+DI]5. Niauaiey eiaeaeniue.NI 1700 MOVB B^5(R1)[R2],R3i386 MOV EAX,[EBX+ECX+5]A oaaeeoea i?eaaaeaiu eeoue iaeioi?ua ?aaeeiu aae?anaoeee, e nae/an iu iiyniei ii/aio. Anee ia?aoeoue aieiaiea ia ioieo 3, oi aeaeii, /oi eiiaiaea, aiaeiae/iay einaaiiiio ?aaeeio niauaiey caiaiaia ia 3 eino?oeoeee ec iaai?a eiiaiae i?ioeanni?a 80386. Aeaenoaeoaeueii 386-ie i?ioeanni? ia iiieiaao eiino?oeoeee oeia "aae?an aae?ana", iiyoiio iiaeiaiua iaieioeyoeee i?eoiaeeony aeaeaoue n iiiiuueth aeiiieieoaeueiiai ?aaeno?a. Aieaa oiai nenoaia aae?anaoeee i?ioeanni?a 80386 ia aeiioneaao eniieueciaaiey eiiaiae n ia?auaieai iaiyoue-iaiyoue. Yoi iiyoue canoaaeyao eniieueciaaoue aeiiieieoaeueiua ?aaeno?u. Iaeiaei a nenoaia eiiaiae i386 i?aaeoniio?aiu eiiaiaeu ia?aaioee no?ie. Yoe eiiaiaeu ai iiiaeo neo/ayo iicaieytho iaieoenue aac iiaeiaiuo i?iaeai. Aio yoe eiiaiaeu:MOVS{B,W,D} - ia?aneaoue no?ieoSTOS{B,W,D} - caianoe a iaiyoue ec {AL,AX,EAX}LODS{B,W,D} - caianoe ec iaiyoe a {AL,AX,EAX}CMPS{B,W,D} - n?aaieoue no?ieeSCAS{B,W,D} - neaie?iaaoue no?ieoAna yoe eiiaiaeu iiaeii eniieueciaaoue n i?aoeenii iiaoi?aiey REP. O yoiai i?aoeena anoue e oneiaiua iiaeeoeeaoeee REPE, REPZ, REPNE REPNZ e ae?oaea, i?ae?auathuea iiaoi?aiea ii eaeiio-oi i?eciaeo aei en/a?iaiey n/ao/eea. N iiiiuueth ia?auo o?ao eiiaiae e ?aaeecoaony iniiaiay ?aaioa n iaiyoueth. Yoe eino?oeoeee iiaeii ioa?aeoa?eciaaoue, eae eniieuecothuea aaoioaaee/aiea eee aaoioiaiueoaiea, oae eae iie iinea auiieiaiey iiaeeoeoee?otho oaeouaa niauaiea, eioi?ia o?aieony a ?aaeno?ao ESI(SI),EDI(DI). A oiaea a?aiy MOVS ?aaeecoao aae?anaoeeth "iaiyoue-iaiyoue". N ia?aiai acaeyaea yoiai iaaeinoaoi/ii aeey oiai, /oiau yooaeoeaii eniieueciaaoue iai?eia? iiaeiaea einaaiiiai n aaoioaaee/aieai eiaeaeniiai ?aaeeia. Iaeiaei yoe neiaeiua eino?oeoeee eaaei caiaiythony iaai?ii eino?oeoeee i?ioeanni?a 80386. Iai?eia? ia?aieoai eiiaiaeo MOVL @(R1)+[R3],(R2)+ aeey iaoei ia aaca i80386.CLDMOV ESI,[EAX+EBX]MOVSDAnee iieiaeeoue, /oi EDI = R2, oi ?acoeueoao aoaeao oai aea. Aeaeaa ESI e EDI aoaeoo oaaee/aiu ia 4 e aeey aeaeueiaeoae ia?anueee iiaeii auei au iaienaoueMOV CX,1000REP MOVSB*oi i?eaaei au e ia?anueea 4000 aaeo ec DS:[ESI] a ES:[EDI]. Eiia/ii ioaeia iaeioi?ay i?aaeaa?eoaeueiay iiaeaioiaea, e i?eia?o caaeaiea ia/aeueiuo aae?ania, onoaiiaea n/ao/eea a ECX, caaeaiea iai?aaeaiey (CLD/STD - i?eaaaeyoue eee ioieiaoue a ESI e(eee) EDI), iaeiaei i?eia?ii oaeea aea i?eaioiaeaiey iaiaoiaeeiu e a ia?aii neo/aa.Oaeei ia?acii, ?anniao?eaay e n?aaieaay aiciiaeiua niiniau aae?anaoeee ia NI YAI e ia?niiaeueiuo YAI ia aaca i?ioeanni?a i386 iiaeii noi?ie?iaaoue aiieia ii?aaeaeaiiia i?aaenoaaeaiea i aiciiaeiinoyo yoeo iaoei. Ianiiiaiii NI 1700 yaeyaony aieaa iiuiie iaoeiie, ?ann/eoaiiie ia ?aoaiea aeinoaoi/ii neiaeiuo yeiiiie/aneeo e ae?oaeo caaea/. Eiay aieaa niaa?oaiiue iaai? aiciiaeiuo niiniaia aae?anaoeee iicaieyao ea/anoaaiiaa e eiiiaeoiaa caienuaaoue caaea/e i?eaioe?iaaiiua ia ?aaioo n aieueoei eiee/anoaii ?acee/iie ioi?iaoeee, ii n?aaiaieth n aiciiaeiie ?aaeecaoeeae iiaeiaiuo caaea/ ia IYAI.I?yiay eee einaaiiay aae?anaoeey "iaiyoue-iaiyoue" ianiiiaiii eiaao ia?iiiua i?aeiouanoaa, e ?acei nieaeaao ?acia? eiaea e eiee/anoai aeiiieieoaeueiuo ?ano?nia ( ?aaeno?u, eeoiea oaeou e o.ae.), eniieuecoaiuo i?e iiaeiaiuo ia?anueeao. Iaeiaei, ianiio?y ia yoi, ia?ai?ia?aiie?iaaiea iiaeiaiuo caaea/ aeey i?ioeanni?a 80386 aiieia ?aaeueii e aeaaea eiaao niune. Aeaaiaea?y ?acaeoeth yeaiaioiie aacu, iiaui a?oeoaeoo?iui ?aoaieyi, iiauoaieth i?iecaiaeeoaeueiinoe aioo?aiieo e aiaoieo caiiieiathueo ono?ienoa iauay i?iecaiaeeoaeueiinoue nia?aiaiiuo IYAI aeinoeaaao, e /anoi iaoiaeeo i?iecaiaeeoaeueiinoue oaeeo eeanne/aneeo au/eneeoaeueiuo nenoai, eae AN ia iniiaa NI e AN YAI. Iiyoiio, ianiio?y ia iaeioi?oth iai?eniiniaeaiiinue iaoei yoiai eeanna aeey ?aoaiey neiaeiuo caaea/, iineaaeiaa a?aiy i/aiue aieueoie i?ioeaio iiaeiaiuo au/eneaiee i?eoiaeeony ia IYAI. E eiia/ii ia iineaaeithth ?ieue caeanue ea?aao eo ioiineoaeueii iaaieueoay noieiinoue, aeiaaeueiia ?ani?ino?aiaiea e ia?iiiia eiee/anoai i?eeeaaeiuo i?ia?aii, a neaaeiaaoaeueii e i?ia?aiienoia, niiniaiuo ienaoue a?aiioiia II aeey ?aoaiey yeiiiie/aneeo caaea/.Eiceia A.A.NIENIE ENIIEUeCIAAIIIE EEOA?AOO?U.Iaeua YAI aunieie i?iecaiaeeoaeueiinoe. A?oeoaeoo?a e i?ia?aiie?iaaiea. Iineaa "?aaeei e naycue" 1990.Ae.A?aii, I.A?aii. I?ioeanni? 80386 e aai i?ia?aiie?iaaiea. "Ie?" 1990.Oaao?ei, A.A. A?iaeei, A.I. Iicaiaie. Iienaiea e nenoaia eiiaiae. II "Iaeei" 1992.Au/eneeoaeueiua iaoeiu, nenoaiu e naoe. Iineaa "Oeiainu e noaoenoeea" 1991.ALI 386DX MINI ISA Systam Board user's manual. Printed in the Taiwan. Edition - August 1993.IAEAAEAIEA1. Aaaaeaiea.N?aaiaiea ieie- e iee?iYAI.2. Nenoaiu aae?anaoeee eniieuecoaiua a ieie-YAI.1. ?aaeno?iaue ?aaeei aae?anaoeee.2. Einaaiii ?aaeno?iaue ?aaeei aae?anaoeee.3. ?aaeei n aaoioaaee/aieai.4. ?aaeei n aaoioiaiueoaieai.5. Einaaiiue n aaoioaaee/aieai.6. ?aaeei niauaiey.7. Einaaiiue niauaiey.8. ?aaeei ei?ioeiai eeoa?aea.9. Eiaeaeniue ?aaeei.10. ?aaeeiu aae?anaoeee n eniieueciaaieai n/ao/eea eino?oeoeee.11. Aae?anaoeey ia?aoiaeia.3. Nenoaiu aae?anaoeee eniieuecoaiua a IYAI.1. Iaiin?aaenoaaiiay aae?anaoeey.2. ?aaeno?iaay aae?anaoeey.3. Einaaiii-?aaeno?iaay aae?anaoeey.4. I?yiay aae?anaoeey.5. Aaciaay aae?anaoeey.6. Eiaeaeniay aae?anaoeey.7. Aaciai-eiaeaeniay aae?anaoeey.8. Aaciai-eiaeaeniay aae?anaoeey ni niauaieai.9. Eiaeaeniay aae?anaoeey n ianooaae?iaaieai.10. Aaciai-eiaeaeniay aae?anaoeey ni niauaieai.11. Aaciai-eiaeaeniay aae?anaoeey ni niauaieai e n ianooaae?iaaieai.12. Ioiineoaeueiay aae?anaoeey.4. Caeeth/aiea. N?aaieoaeueiue aiaeec nenoai aae?anaoeee eniieuecoaiuo a CM1700 e a IYAI ia aaca i?ioeanni?a 80386.5. Eeoa?aoo?a.PAGE 24PAGE 25

Нашли опечатку? Выделите и нажмите CTRL+Enter

Похожие документы
Обсуждение

Оставить комментарий

avatar
  Подписаться  
Уведомление о
Заказать реферат
UkrReferat.com. Всі права захищені. 2000-2019