13.07.2015 Views

iAPX 286 Operating System Writers Guide 1983

iAPX 286 Operating System Writers Guide 1983

iAPX 286 Operating System Writers Guide 1983

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>iAPX</strong>2~6 MACRO ASSEMBLEREnter Protect~d Modi 960-516 d .. te PAGE9lLaCOBJLINESOURCE-'"0.!..I\)~~o~016F 3C070111 580172 75010174 C301750115 Flo01760176 8COO017S 8ECD017A 26C6H0592017F 26C7470600000185 OF03C30188 88C8018A E8DFFF01S0 BF08000190 SEOF0192 BF1S000195 570196 AD0197 E9D2FF019A AS0198 A5019C AS0190 AS019E 07019F SED83283293303313323333343353363373383393403413423433443453463473483493503513523533543S5356357358359360361362363364365366367368369 +1370371372373C"IPPOPJNER~TBAD_oT_LIMIT:lilTTEST_OT _LIMITAl,7AXSAo_oT_LIMITENoPMust be all oneSRestore lengthAll OKOie!Copy tho EPROM OT at selector ex in the temporary GOT to tha aliasdata se~ment at selector S1. Any i~proper descriptors or limitscause shutdownl .COPY_cPROM_OTHOVMOVMaVMOVLSLMOVCALLMOVMOVHOVPUSHLOOSWCALLSTOSWHOVSWMOVSWMOVSWPOPMOVCOPY_EPROM_OT$EJECTPRecAX,SSES,AXES:CBXJ.ACCESS,OS_ACC:SS;ES:ESXJ.RES,OAX,BXCX,AXTEST_OT _LIMITOI,GOT_oESC-1N1T1Al_GOT05,0101,TEMP_OESC-INITIAL_GOT;orTEST_OT_LIMITESOS,BXENDP• Point ES:OI at temporary descriptorMark descriptor as a dataClear reserved wordGet limit of =PROM OTSave for laterVerify it is • proper limitAddress EPROM GOT in OSS991l1entGet selector for temporary descriptorSave offs~.t for later us. as selectorGat. alias segment sizeVerify it is an even multiple ofdescriptors i~ lengthPut length into temporaryCOP.Y r.entCtinir:'9 entries into temporaryES now points at the GOT .lias areaOS now points at EPROM DT as dataCopy segment to alias with zero fillCX is copy count, AX-CX is fill countFall into COPY_W1T~_FILLCopy the segMent at OS to the segment at =S for length CX.Fill the end .it~ AX-eX Zeroes. Use word oper.tions for speed butallow odd byte operations.Figure 10-1. Initialization Module ENTP (Cont'd.)enen--IoZ

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!