: pasm.arj | pasm.a01 | pasm.a02 | instruction.txt

C






:






-
-

Haaee oac pee ACM-K


occea aaa oa cepa eoo, peaoaa cpee MS DOS IBM - coecx
epcoax oepo (ACM-K), ee ooe aaee:
-oeceee oaox pao p coa oee peaa cpee
AC, oopa oepac OS9000. oycaec a ypo pao aopec, a e FORTRAN 77, ec, -
a e oca o , ocpaeo cpee AC ACM-K eoopao.
-peee aa aaa oa oo-epox cce, oeoe pecaee oopx e peye
cpea pocpacex cao oee e a 64*64 ocea, a peex
- 4096 oceo oecx ce.
occea aoaa poepoa oo-epox cce (AC) peaaea oecoo ee
poex pao. Ocoa poea oyea a xoe occe - execoe aae a O, cooecyee
opeee O, a o"ea poepoa. B peyae pee poex aa occee paaaec poea
oyea a oee ooe o"ea poepoa e ex oca ope, ocaoo
aeeo poepoa ao ooe c cooae ye cyecyx CAP cxeoexecoo ypo,
oope oo paccapa, a pye occe CAP O. poe eaa poea cpee occe
cooecye ay HOKP. Ha o ae o"e poepoa paccapaec, a ccea, o ec cooyoc
aocax ooe, aa oopx cocoa yopoa aooo, exec e, oa o
o"ee ooe e ec pao cyo oex eo, coaaex ao ooe. poe CAP,
a oopo oa yopoa occea, opeeec ooy, a cceoexec.
B cooec c oe, AC opeeec, a oe poeao - cceoexo, ceaco oac
oo-epooo popocoe, o"eex oopo opaao, eoec, opao,
cec, aeaec exec oeceee.
Maeaecoe popaoe oecee AC oy pacpc poeaa ye opoa peaa
oex pecae o'ea poepoa eo ooe cpeca cce popapoa OPTPAH 77.
ypoe coa oa popa, peayx oe o'ea poepoa coyec cpea ACM-K.
Coco opaa oea ey ACM-K AC cppyc e:

Cpea ACM-K peayec, aoaao a pc. IBM-coecx BM o ypaee MS-DOS, a AC - BM
EC o ypaee Ccepyax a (CBM). ACM-K AC oy yopoa: -eaco py o
pya, ocoy c eoeco o pe ACM-K -ooeco AC, o cpee ooo peee oo aa
oepoa, aaa oa; - pee yaeoo ocya, ye oea a e ao, coepax
oee pecae ee OC, acax a ao ocee; - ce, opaoao o poooy KERMIT,
pe oe a pocxo a e popa, a e ae ocpyx apaepo. B aece eaa
cpe ACM-K/AC coyec OPTPAH-77. Oee e oe OC oy o ea poeaa coaac
ccee popapoa WF-77, ae e cxooo eca epeaac cpey ACM-K o ypaee MSDOS
poxo oay a ypoe ecoo oca cpeca a oca o'ea poepoa,eoo ACM- K
AC, o aee ooe oop o cpee ACM-K/AC.

opaooe oeceee ACM-K/AC


Ocoe ep
o poe peee oaec cooyoc:
-cpyypa oo-epooo popa a cceoexeco ypoe poepoa,
-aop ae cooecyx ocpyx apaepo.
opaooe oeceee peae cey epee aa:
-xpaee ax, xapaepyx ocpye apaep ooe o"ea poepoa, oope e c o"ea poepoa,
-xpaee poex pee,
-copooee pacpeoo ooaee paea pee aa aaa,
-copooee pacpeoo ooaee paea pee aa cea,
- coae a ax ca poeao,
- acppoae a ax ca poeao.
Opaa oeco cpyyp ax
Ea xpae opaoo oecee c:
-oee pecae coo cao,
-oee pecae peo ye,
-oee pecae aaaopo opae.
oee pecae coo cao accpyc cey opao:
-co yepoo caa,
-co ooepoo caa,
epa pya coo aae pocpacee epeece cepae xapaepc yaee. Bopa
pya aae peee ca:
-eeppoae ca pax eepaopo, o peaa cyax poecco a xoe eepaopo ya,
-acoo-oepee ca (ocae y oex ooe o"ea poepoa- peo
ye, epox cxe ..).
pe ye o pecae opaoo oecee o OCT:
-o yceoo co,
-cepa aaoo,
-cepao ooc yco ep, o oopo pe aecyec o"ee poepoa,
-oapyeo cocooc.
Aaaop opae o pecae y a ax:
-pacp,
-paeop paep.

pacpeo cpee ACM-K

Pacpea cpea ACM-K- o cooyoc aocax poex ccex popa, o'eex oe o, coca oopo ooae oe e o coey ea.
Cpea ocpoea o epapxecoy py. Ha epxe ypoe opeeea cooyoc MOEE. MOE oe oopaa o ee, o eec poecc poxoe caa epe o'e poepoa.Bo opo cyae oepyec apaeo-oceoaea opaoa cao o ooo yx coo. Beee pocxo o peyaa aaa yx cao, c epexoo aee oy o e e. o opy MOE oe oxaac opao c oceeo ya ee o ooee MOE c oae ocpyx apaepo ooe, yaax poeao. Opaa c o cay ooa oo ya ooee "o opae".
Kooea MOE c BEH -eee ooe. BEH oy CTAHAPTHM, coa ca poeao. CTAHAPTHE BEH eyc POTOTAM. Coa BEHO -o a pco , ooa opao, ao opyp.
Ec cooao ecoe cpee opaa - coyec POTOT. Ec oe ea peaoaa e opopa oeo a a e OPTPAH -o ooe eo, ocyoe oo coaey poeay. aaa opopaa cce opax apaepo oa coepa oec acc oceo xooo caa, oop ec xo xo.
AHK KATAO MOEE
B ae oee o'eo poepoa xpac papaoae poecce cyaa ACM-K oca e:
- popa,oex a e, opao coaa c ooeco OPTPAHa / aopecoe ocae/
- popa,oex a cpyypo e c oo eoe opa / cxeaecoe ocae/.
Moe o'ea - cooyoc oee caapx ee /pooo/. Kaao oeceae copooee aa oee - aecee yoee, ooee oca oee.

AHK KATAO BEHEB
/CTAHAPTHE BEH POTOT/
eo - ee o'ea poepoa, ee c o pe poeaa a cceoexeco ypoe poepoa. B AC eo opeeec popao, opypo, opao.
Caape e ocy ooae oo e oe. poea oe coa oe e y cocoa:
- o pooy,
- a popay peaa coceo oe a e OPTPAH.
AHK KATAO OB MOEE
e - ee o'ea poecca poepoa, oopo opaaac a xox caa aec o a xox. B ACM K ye opeeec popao, opypo, opao. Caape y ocy ooae oo e oe.
poea oe coa oe e y cocoa:
- o pooy,
- a popay peaa coceo oe a e OPTPAH.
OKMEHTA K AHKAM
oyea a o coaaee e y oec poeao. oo poecce oca ooae opaec oe, ocyaeoe eco peaopo.
BBO CXOHX AHHX
p coa oee opyp a e aocc a a ax:
- ae ocpyx apaepo
- oca y, aax ca a ae epeaoe xapaepc oex ee/"ooepe apaep"/
Ocae cao "ooepx apaepo" ocyecec o paec, o a ax.

apaepeca cpyypa oa.

Cpyypa oa oaec a a cpyypo oo oe, ocpoeo o oca ooae.
apaepeca oa, o poecc opeee ae ocpyx apaepo, coeae oopx oeceae ocee
cpeya eeo y.
poee poeyp apaepeco oa pooc a oeo pecae o"ea poepoa, ocpoe cooec c yco . poecc oa
ocyecec aoe ocpeco oopae poeyox
ao oa e eyeo ae eeo y
ocpyx apaepo, ooaex oe, a oeae
oa.
Cpyypa oa ocyecec aoe ye oca ooaee aeoo oo o cpyype oe o"ea poepoa, ycaoe opae eco peayeoc, oceye apaepeco oa.

cxoe ae paac:
- poc epee,
- paec acoc, oope poea oe cpo a pae ce.
Kaa ox e oepyec oce eco a pae ce. Cooyoc eex cxox ax poepec a cooece peyeoy o"ey, y, eco paepoc c oceye ae aocecx cooe a pa ce. Ec cxoe ae e oy eppepoa epe cooyoc
eeapx y, ooae ee oooc pa ae c oo opopa-y a e oppa-77.

Oa cpee ACM-K/AC


Cpyypa paea oa ocpoea paax cpyyp paea aaa. Coceo ooea oepoa eo
xo coca popaoo oecee paea aaa AC, oop o cpyype cocoy ocya aaoe cpee
ACM-K.
Pae oa oeceae oee poeyp cpyypo apaepeco oa a oe,
ocpoeo poeao. B cyae cpyypo oa pea oe ocpo oy oe o"ea
poepoa. By ocoeoce eex y (a coooe ca/y), peoeyec poec aa
yceoc, .e. e ooeco apaepo, o oop eea y oaae acao
yceoc.
aaa oa ACM-K/AC, ec opo o pep poex pee cpoc a oopepaa
aaa. Ec oae oopepaa aaa, o oa oa ceea oopepao eoa aoo pep,
cep, aca, o c cooae opocc apeo. B aeaeco ocaoe poeypa "oaop" peae
aay eeoo popapoa :

a aaa coc pee aa eycoo oa ye ae epeex o opye :

Oa pooc ooceo oo epeeo z, p oe peyao cea pooc opa epece
apaepo.
Hao oe, o oaop cea peae aay a eeo y, ooy, o cyae, oa poeay
peyec oc acaoo ae paoo pep poeoo pee, eoxoo opopae ce
eeo y c o pep co ao yc.
Oa poxo aooo pee. B aoe oo:
- pa ce eo oa,
- pa eo ooepo a aao apae,
- e a oa peyao oa.
Bce peya oa aoac epe ae KSTEP ao.
p xoe oaop peyec yaa o ceoo eoa a, eo a o paoo
apae, a oa peyao. ec aee poea, coy oaop oe a, o p oe
apaaex ax coyec p "o yoa", .e., ec poea apyec ope ax, o oeo a
ao apoc oe cy aae a o. B o cyae yy ee ae, oope cac ay (c
o pe papaoo oaopa). p oee a apc (a, e ec cooecya ocaa) ceye apa:
NAME = cooe aee
e NAME - epeeo, oopo pcaaec cooe aee. oce aopa cex ae aa o
aaec BA.
Oaop peye ec o peyex cex eoo. opa ceoo eoa oa ao yaa
ceyee :
1 - eo Xya-ca,
2 - eo Heepa-Ma,
3 - eo aya.
Ta opao, p apoce oa aopa ao yaa: METOD= N, e N - o paoo aopa. o yoa
METOD=3.
Bop eoa ooepo a pao apae ocyecec oeo a apoc NMINL=L, e L -
o paoo eoa :
1 - apaa apoca,
2 - eo oooo cee.
o yoa NMINL=1.
opa eoa ooa epaooo poecca ae eoxoo yaa o eoa : NOUT=K, e K - o eoa
ypae epaoo poecco :
- poepa pep ooa epaooo poecca a c oeo ee apyeo y o
epe,
- poepa pep ooa epaooo poecca a c oeo ee apyeo y o
acoo ee,
- poepa pep ooa epaooo poecca a c oeo ee apyeo y o epe
ecex epa,
- poepa pep ooa epaooo poecca a c oeo ee apyeo y o
acoo ee ecex epa. o yoa NOUT=1.
KOD(1) - cpoaoe co oe oa paeop cyca, oope oy cooa aaa ee
ae opyex apaepo. Kaa oa - peya oo epa. Aapy peya cex epa
oo p peee o cee eoa a. o yoa KOD(1)=5.
KOD(2) - Teyee co oe oa paeop cyca. BHMAHE !!! aee KOD(2) HE MEHT. KOD(2) = 1
cea !!!
KOD(3) - Macao oycoe oeco ao p a aao apae. o yoa KOD(3) =
20.
KOD(4) - Pecypc oeca ce pyeo y. o yoa KOD(4) = 10000.
KOD(5) - Pecypc oeca epa. o yoa KOD(5) =
200.
KOD(6) - BHMAHE !!! y ey p oe e e !!! KOD(6) = 0 BCEA !!!
aee, peyec aa N ae, xapaepyx peyey cee ooc o oy apyey:
DS(1)=0.001,DS(2)=0.0001,...
o yoa ce N ae DS pa 0.0001.
, aoe, opeyec ec eecee ae
apaepo, ypax oao poecco :
EST(1) - Oaeoe aee opyeo y. o yoa EST(1) = -10.0
EST(2) - Haaoe aee aa p a o apae. o ya EST(2) = 0.1.
EST(3) - Macao oyca ea aa p a o aaoo apae. o yoa EST(3) =
5.0.
EST(4) - Tpeyea cee ooc ooepo a o aaoo apae. o yoa EST(4) =
0.001.
EST(5) - Kocaa aaa aaoo aa. o yoa EST(5) = 1.0.
EST(6) - Tpeyea cee ooc o ae y. o yoa EST(6) = 0.000001.
o ooa pao paoo Ba eoa a aec o aepe pao popa. Ec o
o IER = 0, o o oaae, o eo opaoa e oo peya oa ocoep. Ec IER e pao y,
o o oaae ceyee :
IER = 1 - My, epoo e cyecye.
IER = 2 - cepa pecypc oeca epa.
IER = 3 - cepa pecypc oeca ce pyeo y.
IER = 4 - peeoe poee aa ppae o apyea p poee oepeo epa.
paa oaae, o eee yoa, oope pxoc poa p oao poepoa
O, c oxo oycoe, o opeee opay cpyypy paoo ypo. Booee opao
cya xapaepyec pe aeee poecca cxooc peepee ooae oaooo
poecca.
Peoea, oope oo a ycpae oxo oycoeoc aa oaoo poepoa,
ceye :
- oopa paepoc opyex apaepo a, o o pepo ooo opa,
- pe oppoae epeex,
- poec aey epeex.
Ha o o ax aaaec aaec coceo oa. oce oe KSTEP epa a pa
ce oc poeyoe peya oec apoc a eoxooc ee apaepo oaa.
e oo apaep, oope yoac e.
Peoea o opy eoopx apaepo oa.
Ka ye yoaoc, oaope o yoa pocxo pcaae eoopx cox ae.
ae oye ye oocex cepeo a oo oece ecox y a peax aaax,
ooy ao oea a apoc aae a o. Ec peya eyoeope, o oo pyoocoac
cey: Haoee ae ceye ca eo Heepa-Ma aya B opao cya ceye pe
eo Heepa-Ma. oeopee peya oo oy o eoa aya. Meo Xya-ca aeee
ee -a ooo oeca ce eeo y (KB), oao, eopx cyax o oy oaac
eee cex ocax eoo.
Bpa eo a o aaoo apae (NMINL = M) yo cey opao :
- a aao ae a ceye pa M=1,2. o oy aopy ocaoo o 20 - 40 epa.
- a aeo ae peoeye epe NMINL=1. o oo ycop poecc a.


Aa oo - epoo cce

B poecce pee aa aaa oeceea oooc ocpoe aeaeco oe o"ea poepoa o oca ooo ocpyx apaepo epax poeaa, a ae oooc oe a o oe e oex ocpyx apaepo a ey pep poeoo pee. oa oeceea oooc oe a ooapaoo a ooapaoo aaa.
Ooapa aa oeceaec a ce oooc aoaecoo ocpoe popao peaa oeoo pecaeo"ea poepoa, oa oe oyaeo (xooo) oec (caa), pecae oopae xooo caa (oec) ope, yoo p poeoo pee c yeo opae, aaaex ooeo "exece cpeca".
Ocae oe o"ea poepoa oeceaec epax poeaa
Mooapa aa oeceae oey cee ocpyx apepo o"ea poepoa a acoe aee pep poeoo pee, o a xoo ca.
opypoy pep poeoo pee ocyece poea cpeca a oca o"ea poepoa.

Ce oo - epoo cce

Pae cea peaoa oo cpee AC ooy aepa paea poc oo oecee oeo
pecae o eoeco ooee. pae popa cea peaae opeee cpyyp
opepoox ae ocpyx apaepo O poecce aoa poeaa BM. Bapa cpyyp
o"ea poepoa payc poecce poepoa peyae oopeee T.. a o"e poepoa,
oope poea eae c yeo oooce eeo a, exooecx opae.
AC ooe poeay oceoaeo , o opy, a o ae pea ceye aa:
- Opepoo epeec pace O e yea capoa. cxo a c cpea
pacpocpae ye, oe yae, oe oa, oe ya epoo pae, epooc
oapye coa ye, opae a aap. Bxoe ae - aep paa xoa, ,
oycoe paccoe, oe oopa, oeoe oe pe, ooca poyca epooo paa.
- Ce aopa oapye coa (coo) ye cpe oeoo oeca ocopox
coo
. cxo a c oycoe pe aaa (pe a,yoeoe a oeco
o), epooc oapye oo peo. oycaec, o poea oe ao ooee
yco oca - eaey paeop xapaep aaa - apae ooee oe pe,
oceoae, opee epooc oapye. Bxoe ae - ao oca yae xapaep
pae oeoo o pe.
- Ce aaaopa opae. a eoxo, ec ao oca, op oeoo o pe coooee
ey oe oopa oe oe pe, aee a peyx aax e oecea op
eaeoo xooo epecoo caa oo - epoo pae. cxoe ae: opa eaeoo
xooo caa O opa xooo oecoo caa, a ae opae a ao aaa opae
e aopa oca yae eee poeao.
- Ce oeco occe. o a oec c e yoe epeaoo y oeco
cce, opepoao oeeo paee. o ea poeaa o a oe oc oeo
Ka apa, aaa, peaea a o ae oe eppepoac, a aaa opeee coo oyoo
y O. cxoe ae: opa eaeoo opae a xoe O, opa xooo oecoo caa.
cxoe ae: oeca epeaoa y oeco occe c yeo opae eco
peayeoc oyoa epeaoa y O.
epecee aa o oece ce epeaox y oex occe, pcyo pacpa ao
aaa opae o"ea poepoa, xapaepc oopoo aeee yoc o peoa T.. ("pop,
oa o
T..").
ae popa cea oeceae oooc epexoa o aa cea aae aaa. Heoxooc aoo
epexoa oycoea cey pa:
- B peyae pee aa cea poea oe oy ecoo execx pee, oeceax
peo paoe cce cpeeo apaa ooee o peoa T.. ooy T.. eoxoo oopee,
ao ooee opae , pea aay aaa, pa eceoe execoe peee o o"ey
poepoa.
p pee aa cea oy e ye ceece aop yopoa O, a ae
exooece cae, oce o"e poepoa. ooy eoxo aop aa a oo oe
o"ea poepoa, oopa cpoc cpeca aaa a ocoa cepoao cxe opepoox
ae ocpyx apaepo.
Ce o"ea poepoa pooc peooe eoc cex occe O. ooy eoxoa oa
oe o"ea poepoa, ocpoea cpeca paea aaa oa ocpyx apaepo c yeo
eex ee O.
Bxoo paea ooe oca execoe aae a o"e pepoa, e cpae oca
oaoo pee, pa eo oa.
cxoe ae paac:
- poc epee,
- paec acoc, oope poea oe cpo a pae.
Kaa ox e oepyec oce eco a pae ce. Cooyoc eex cxox
ax poepec a cooece peyeoy o"ey, y, eco paepoc c oceye ae
aocecx cooe a pa ce. Ec cxoe ae e oy eppepoa epe cooyoc
eeapx y, ooae ee oooc pa ae c oo opopa-y a e
oppa-77.
Coco ocya paey cea (AC). Oecee aoo ocy poe oy paea. cxoe
ae apaac oa. o oaae, o ec ac cxox ax oa eea cea a
peye ae pao paee, o apoc a x e pooc . Oecee o ac cxox ax o yoa.
pao o yoa pacpocpaec a ceye ae:
a) Cepaoe poycae cpe pacpocpae ye. o yoa oo pacaec c oo
cyecyx aeo pax popa.
) apaep eyapoo caapo aocep,
ao poeaa BM poecce pee aa cea oa ooe a 2 3 aax cea.
Ha 2 ae cea poea ee oooc ocaaa poecc cea c e ece oppe apae
cea oaoo ee c opao a 1 a cea.
Ha 3 ae poea ee oooc pocao poecc cea c oooc oe poeyox
peyao peoea a eee eoa cea ( ca aoex aee) c e oppe apae
oca oaoo ee aa c opao a ep a.

Ocae cpyyp ax opaoo ooee ()


oooa ax opaoo ooe ACM-K opeeec eoo ac ax K , a ae a ax peex AC. ae K pecae y a:
-coo,
-xoepo.
K co a oocc eecee ee ca xapaepye ocpye apaep o"ea poepoa.
K xoepo a oocc ea ao oopx xpac ooepe yepe acc ecex oecx ce pecax ocpye xapaepc o"ea poepoa.
coe ae occ oye o oooe ax.
oooa ax xoepooo a pooc a aa.
C oo cepcx cpec K AC coaec ooep o yep acc oecx ecex ce.
Macc acaec a, a aa occ oye ooo ax (opyp). B oyee o oooe ox ax yaaec epee cox xoepox ae cooecyx ae K paoo ea, a ae aop peaaeo cooyoc ax.
B oyee a oppepoy yaac cooyoc ax oeax ee ae aop oo peoe. p xoe opaoy ooey a pa aec e xoa K.
opea K ao e oo oy cpay o paoe cce a ao ypoe aoa.
Oece cce pecae cpao a a, ae oe o'ea poepoa
Bee ax ocyecec aecee coecoo e:
- ycoo oa (epeaoo y )
- cepaoo oea poyca cooecyy cpoy opypa a eo oe
Ka eaax o ax oe pecae o yx o:
paec - oopaac oc pao oppoao y, e 80 oceo o oc X 20 oceo o oc Y, c oo oo coa aayp ce.
Macco oceo - oc a acc oecx ce, a oopaaec ooae e paa ooo cee.
pe ye pecae cpao a, oope epeocc ooaee, oa o aoe cooecye opyp, a ae a, ae oe o coecoy e. K oce oocc:
- oocea cepaa ooa yceoc,
- cepaa ooc ya,
oope pecac o pao, e 80 o o oc X 20 - o oc Y, o acca. Cepaa ooc ya aaec acco oecx ce, y paea - oy apyea. Oocea ooa yceoc - o pao eecex ce, o acco eecex ce.
Aaaop opae pecae "pcyo pacpa" "paeope paep", aao apaepec ao yx oopa pocpaca, oopo pooc aa opae:
Q1=Q1(t')
Q2=Q2(t')
t'- eyee pe aaa, paeoe oocex eax (aoaoe pe),
t'=(T/t)*N, e
T - aaa [ce],
N - co oceo
"Pcyo pacpa" - y poyca aapyeo eea (oeca c yeo o ac).
"Pcyo" pacpa "paeop paep" oopaac ae co ea.
co cao pecae coec ea, ooaa a, oopo xpac acc oceo y oecoo epeeoo, aax ooepe, ooepe, oepee, aco-oepee ca.
Co pocpaca.
Co pocpaca pecae o pex o:
- oepe,
- aco oepe,
- eoepe, xapaepyec cepa aaoo, epeaoo ye ye ao oepeoc.
Moy epeaoo y e ayoo poyca TAU(L), coceo epeaoa y xpac
e ao epyc oec ee, coepa 8 coo, ep co - ya.
Koe poyca oe aa pao, oa aa, eo coepaeo oo aac c y "G".
Paoa peax "oece cce", "pe yco ep", "co cao" aaoa paoe eocaoo pea "co pocpaca". Oe aaec pax opax aoo pecae.
Pe "aaaop opae" ec a a opaea.
B epo paee coepc epee coecx ao, coepax oce y oecoo epeeoo,
oopaax y poyca pocpaceoo pa, peopayeo pocpace ca o peeo oac.
Bo opo paee coepc epee ap coecx e ao, coepax oce y, aax ao epeee pocpaceoo pa yx opooax oopa.
Pacp aaaopo opae.
ae o pacpax aaaopo opae pecae e e ao. Boo a cocoa oca pcya pacpa:
- e acca oecx ce.
- e acca cox epeex, ocaeo pacp paoo ypo.
Paepoc acco - N*N eeo,pe N = 2**M, M = 3,4, 5...
opae "paeop paep A" ee aaooe e. Bce ope paccapaex opaeo pea
"A", aao opea paopa e a pepe pea "co pocpaca".