home *** CD-ROM | disk | FTP | other *** search
/ Graphics Programming Black Book (Special Edition) / BlackBook.bin / disk1 / zenasmlg / rtf / chapter7 / fig7.11.tif (.png) < prev    next >
Tagged Image File Format  |  1997-06-18  |  189KB  |  738x658  |  16-bit (22,158 colors)
Labels: book | box | bulletin board | data system | dialog box | reckoner | shelf
OCR: are Offset always components added Memory 1111 FIGURE 7.11 modulo 64K so 0000 the sum 18000h 07FFD 05 Offsct compo- turns into an offset 90 nents are added 8000h 10 4000 modulo 64 with any carry out 08000 18 hit 15 ignored, 8000 08001 95 as illustrated by 08002 02 the execution Displacement COOO 08003 mov bx 4000h mov di .8000h mov ax [bx 1111 Memory di+0c000h] DS 0000 07FFD 05 when DS is 0 07FFF 90 (A) Although the 4000 07FF 10 sum of the offset 08000 components 8000 18001 (BX DI and the 08002 displacement 08003 of 0C000h) 18000h, the actual offset pasn 8000h which 9518 Memory 18000h modulo 6 B The 0000 07FFD 05 addressed word 07FFE 90 being read. C 4000 O7FF 10 The word from 08000 10 offset 8000h has 8000 08001 indeed been 08002 read 08003 aeaad FIGI 0800 Disnlacemen used