Анализ технического задания. Составление карты распределения адресного пространства. Модуль управления и индикации CPAN, страница 28

356 41F2  0A 06 0302r            ust_2:  or al,[pred_key];добавить младший полубайт уставки

357 41F6  A2 0301r                  mov [key],al         ;сохранить введенную уставку

358 41F9                         break:

359 41F9  B0 20                     mov al,00100000b  ;завершить прерывание

360 41FB  E6 40                     out [40h],al ;программирование контроллера прерываний

361 41FD  9D                        popf            ;восстановить флаги

362 41FE  5A                        pop dx

363 41FF  59                        pop cx

364 4200  5B                        pop bx

365 4201  58                        pop ax

366 4202  FB                        sti

367 4203  CF                        iret         ;выйти из прерывания

368 4204  10                     Q0 db 10h

369                                   ; Указываем адрес хранения используемых переменных в ОЗУ - 300h

370                              org 300h

371 0300  00                        x1234    db 0

372 0301  00                        key      db 0

373 0302  00                        pred_key db 0

374 0303  00                        UST      db 0

375 0304  10                        Q4       db 10h

376                              end start


Turbo Assembler         Version 2.01        21/12/98 03:49:04      Page 8

Symbol Table

Symbol Name                       Type   Value

??DATE                            Text   "21/12/98"

??FILENAME                        Text   "prog1   "

??TIME                            Text   "03:49:04"

??VERSION                         Number 0201

@CODE                             Text   DGROUP

@CODESIZE                         Text   0

@CPU                              Text   0101H

@CURSEG                           Text   _TEXT

@DATA                             Text   DGROUP

@DATASIZE                         Text   0

@FILENAME                         Text   PROG1

@MODEL                            Text   1

@WORDSIZE                         Text   2

BEGIN                             Far    DGROUP:4000

BREAK                             Near   DGROUP:41F9

CHECK1                            Near   DGROUP:41C2

CHECK2                            Near   DGROUP:41D1

CHECK3                            Near   DGROUP:41D6

CONVERTOR_TABLE                   Near   DGROUP:412B

DELAY                             Near   DGROUP:413B

IRQ0                              Near   DGROUP:40C8

IRQ1                              Near   DGROUP:4155

IRQ2                              Near   DGROUP:41AA

KEY                               Byte   DGROUP:0301

L1                                Near   DGROUP:40B3

L2                                Near   DGROUP:40A9

M1                                Near   DGROUP:414C

M1H                               Near   DGROUP:413C

M1L                               Near   DGROUP:413E

MAIN_PROG                         Near   DGROUP:404E

MET                               Near   DGROUP:4096

MET1                              Near   DGROUP:40CC

MET2                              Near   DGROUP:40D2

NOTY1                             Near   DGROUP:4080

OUTPUT                            Near   DGROUP:40F2

PRED_KEY                          Byte   DGROUP:0302

Q0                                Byte   DGROUP:4204

Q4                                Byte   DGROUP:0304

START                             Near   DGROUP:7FF0

UST                               Byte   DGROUP:0303

UST_2                             Near   DGROUP:41F2

X1234                             Byte   DGROUP:0300

Groups & Segments                 Bit Size Align  Combine Class

DGROUP                            Group

_DATA                           16  0000 Word   Public  DATA

_TEXT                           16  0305 Word   Public  CODE