7.23.6 ÈÍÈÖÈÀËÈÇÀÖÈß ÐÀÑØÈÐÅÍÍÛÕ ÔÀÉËÎÂÛÕ ÐÅÃÈÑÒÐÎÂ (INITER)
Ôóíêöèÿ
Èíèöèàëèçàöèÿ ðàñøèðåííûõ ôàéëîâûõ ðåãèñòðîâ (ER). Ïðè ýòîì â ðåãèñòðû ââîäèòñÿ
çíà÷åíèå „FFFFH“.
Îïèñàíèå
쎲
 öåëÿõ èíèöèàëèçàöèè êîìàíäà INITR çàïîëíÿåò ðàñøèðåííûå ôàéëîâûå ðåãèñòðû,
íàõîäÿùèåñÿ â êàññåòå ïàìÿòè (ôëýø-EPROM), çíà÷åíèåì "FFFFH" (÷òî ñîîòâåòñòâóåò
äåñÿòè÷íîìó çíà÷åíèþ "-1") . Èíèöèàëèçàöèÿ ðàñøèðåííûõ ôàéëîâûõ ðåãèñòðîâ äîëæíà
áûòü âûïîëíåíà ïðåæäå, ÷åì ýòè ðåãèñòðû èñïîëüçóþòñÿ äëÿ çàïèñè (íàïðèìåð,
êîìàíäîé SAVER).
쎲 Èíèöèàëèçàöèÿ ïðîèñõîäèò ïî ñåêòîðàì. Íà êàæäûé ñåêòîð èíèöèàëèçèðóþòñÿ 2048
ðåãèñòðîâ. Ñ ïîìîùüþ êîìàíäû INITER ìîæíî èíèöèàëèçèðîâàòü íåñêîëüêî ñåêòîðîâ.
쎲 Â (S+) óêàçûâàåòñÿ ïåðâûé àäðåñ ïåðâîé îáëàñòè ðåãèñòðà (ñåêòîðà), êîòîðûé òðåáóåòñÿ
èíèöèàëèçèðîâàòü. Ó÷èòûâàéòå, ÷òî â êà÷åñòâå àäðåñà äîëæåí áûòü óêàçàí "R", à íå "ER".
쎲
 (n) óêàçûâàåòñÿ êîëè÷åñòâî èíèöèàëèçèðóåìûõ ñåêòîðîâ.
Ïðîãðàììèðîâàíèå FX1S/FX1N/FX2N/FX2NC/FX3U 7 – 313
ÑÏÅÖÈÀËÜÍÛÅ ÊÎÌÀÍÄÛ ÊÎÌÀÍÄÛ ÄËß ÐÀÑØÈÐÅÍÍÛÕ ÔÀÉËÎÂÛÕ ÐÅÃÈÑÒÐÎÂ
INITER FNC 295
Èíèöèàëèçàöèÿ ðàñøèðåííûõ ôàéëîâûõ ðåãèñòðîâ
CPU
FX1S FX1N FX2N FX2NC FX3U
S+ n
Èìï.
èíñòðóêöèÿ(P)
Îáðàáîòêà Øàãè ïðîãðàììû
RK,H
16áèòà 32áèòà
INITER
INITERP
5
Îïåðàíäû
(S+)INITER n
Óêàçàíèå â (S+) Ñåêòîð Îáëàñòü ïàìÿòè
R0 0 ER0 ... ER2047
R2048 1 ER2048 ... ER4095
R4096 2 ER4096 ... ER6143
R6144 3 ER6144 ... ER8191
R8192 4 ER8192 ... ER10239
R10240 5 ER10240 ... ER12287
R12288 6 ER12288 ... ER14335
R14336 7 ER14336 ... ER16383
R16384 8 ER16384 ... ER18431
R18432 9 ER18432 ... ER20479
R20480 10 ER20480 ... ER22527
R22528 11 ER22528 ... ER24575
R24576 12 ER24576 ... ER26623
R26624 13 ER26624 ... ER28671
R28672 14 ER28672 ... ER30719
R30720 15 ER30720 ... ER32767
Òàáë. 7-80:Ïåðâûé ñåêòîð óñòàíàâëèâàåòñÿ ïóòåì óêàçàíèÿ íà÷àëüíîãî àäðåñà.  (n)
óêàçûâàåòñÿ êîëè÷åñòâî èíèöèàëèçèðóåìûõ ñåêòîðîâ