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><strong>286</strong> MACRO ASSEMBLEtEnter Protected Mode 960-516 date PAGE4l......o!..~ILOC0040OBJ0000)00400040 00000042 20000000000200040044 20000046 18000048 2800OOU 0000004C004C FA0040 FC004£ 33FF0050 8EOF0052 8ECT_OOS4 8E070056 8UOOO00590059 E90000005C005C 50OOSO 83E05C0060 2£OF015000LINE106107108109110111112113114115116117118119120121122123124125126127128129130 +1131132133134135136137138139140141142143144145146SOURCEEN~_GOT LABEL WORDSTART_POINTER LABEL OWORDOW O_START_TASK Pointer to initial taskTASK_ENTRYTSS_SELT5S_ALIASLOT_ALIASTASK_ENTRYTASK_LISTRESET _STAIITUP:CLICLOXORMOVMOVMOVMOVSEJECTSTUTDefine template for the task definition list.STRUCowOWOWENDSTASK_ENTRYOW01_01OS_OIES_OISS_otoDefine layout of task descriptionSelector for TSSData segment alias for TSSData 5egment alia5 for LOT if anyTerminate listNo interrupts al10.ed'Use autoincrement modePoint ES:OI at phisical address 000000": Set stack at end of reserved area'SP_ENO_GOT-INITIAL_GDTFor~ an ~djustm.nt factor from the real CS base of FFOOOOH to thesegment base address assumed by A5M<strong>286</strong>. Any data reference mad.1nto CS must add an indexing term raPl -to compensate for the differenceb.twe.n the offset generated by ASM<strong>286</strong> and th~ offset required fromthe base of FFOOOO".PIIOCCQLLSTUT1:PI)PSU!ILIaTSTAQT1BPBP_OFfSET STARTlNULL_oeSCCBPJFigure 10-1. Initialization Module ENTP (Cont'd.)The value of IP at run time is notthe same a. used by ASM2S61Get true offset of STARTISubtract ASM296 offset of STARTIl.aving adjustment f.ctor in 8PS.t up null lOT to force shutdo.non any protection error or interrupt~~m.:Z:I• r-...~oz

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

Saved successfully!

Ooh no, something went wrong!