Ръководство за упражнения по програмиране за Асемблер

Click here to load reader

  • date post

    13-Oct-2015
  • Category

    Documents

  • view

    148
  • download

    5

Embed Size (px)

description

Ръководство за начинаещи за програмиране за Асемблер

Transcript of Ръководство за упражнения по програмиране за Асемблер

  • 2011

    : . -

    : . -

    . . -

    , 2008 , . , 2008 ISBN 978-954-9775-37-2

    2

  • ........................................................................... 9 ........................................................................ 10 ............................................................................................... 11 1 ............................................................................ 15 2 8086 ................................................... 33 3 8086 ........ 44 4 MS-DOS ...................................................................................... 63 5 .................................. 78 6 MS-DOS .......................................... 110 7 ........................................................................................ 135 8 ................................................ 150 ................................................................................... 168

    3 4

  • ........................................................................... 9 ........................................................................ 10 ............................................................................................... 11 1 ............................................................................ 15

    1.1 .............................................................. 15 1.2 ....................................................... 16 1.3 - - a a ............................................................................ 16 1.4 .......................................................... 17

    1.4.1 ................................................... 18 1.5 ............................................ 21 1.6 ....................................................... 22 1.7 ................................. 22 1.8 ...................................... 23 1.9 ................................................................. 24 1.10 ASCII/IBM .................................................. 25

    1.10.1 ASCII .................................................. 25 1.10.2 IBM .................................................... 27

    1.11 ..................... 27 1.11.1 ............................... 27 1.11.2 ..................... 28 1.11.3 ....................................... 30

    1.12 ................................................................................. 31 2 8086 ................................................... 33

    2.1 ........................................................................ 33 2.1.1 .............................................................. 34 2.1.2 ............................................................................. 35 2.1.3 / ..................................................................... 36

    2.2 ................................................................ 36 2.2.1 ............................................................ 37 2.2.2 ........................... 38 2.2.3 ................................................. 38 2.2.4 ...................................................................... 38

    2.3 8086 ....................................................... 40 2.3.1 ........................................................................ 41 2.3.2 ............................... 42 2.3.3 ..................................... 42 2.3.4 ............................................... 42 2.3.5 ............................................. 43

    2.6 ................................................................................... 43 3 8086 ........ 44

    3.1 8086 ................................................... 44 3.1.1 ....................................................... 44 3.1.2 .................................... 44 3.1.3 ...................................................... 46

    3.2 80286 ................................................. 47 3.3 80386 ................................................. 48 3.4 80486/Pentium ..................................... 49 3.5 . ....................................... 49 3.6 ...................................................................................... 51 3.7 ROM-BIOS DOS .................................................................. 51

    3.7.1 ROM-BIOS ...................................................................... 51 3.7.2 DOS ............................................................... 52 3.7.3 ......................................................... 52

    3.8 .......................................................................... 52 3.9 ................................................................. 56

    3.9.1 ................................................... 56 3.9.2 ............................................ 56 3.9.3 .......................................................... 56 3.9.4 ........................................................ 58

    3.10 ............................................................................... 61 4 MS-DOS ...................................................................................... 63

    4.1 ................................................................ 63 4.2 ................................................................. 66

    4.2.1 ...................................................... 66 4.2.2 ......................................................................... 67 4.2.3 ............................................................................ 67 4.2.4 ..................................................... 67

    4.3 MS-DOS ..................................... 68 4.3.1 TREE .............................................................................. 68 4.3.2 DIR ................................................................................ 69 4.3.3 TYPE .............................................................................. 70 4.3.4 MORE ............................................................................. 70 4.3.5 MKDIR (MD) ................................................................... 71 4.3.6 RMDIR (RD) .................................................................... 72 4.3.7 CHDIR (CD) .................................................................... 72 4.3.8 PATH .............................................................................. 73 4.3.9 COPY ............................................................................. 75 4.3.10 RENAME (REN) .............................................................. 75 4.3.11 DEL (ERASE) ................................................................. 76

    4.4 ................................................................................ 77 5 .................................. 78

    5.1 ................................... 78 5.1.1 ............................................................ 78

    5 6

  • 5.1.2 ...................................................................... 78 5.1.3 ...................................................................... 80 5.1.4 .......................................................... 81

    5.2 ...................................... 81 5.2.1 ............................................ 82 5.2.2 ...................................................................... 89 5.2.3 ........................................................... 90 5.2.4 EXE COM ...................................................... 91 5.2.5 , , ............ 97

    5.3 .......................................... 98 5.3.1 ............................................... 98 5.3.2 .................. 99 5.3.3 ...................................... 99 5.3.4 .................................... 104 5.3.5 ..................................... 106 5.3.6 ................................. 106

    6 MS-DOS .......................................... 110 6.1 ........................................... 110

    6.1.1 DOS ........................................................... 110 6.1.2 BIOS .......................................................... 112 6.1.3 ...................................... 115

    6.2 ............................................................ 118 6.2.1 DOS ........................................................... 118 6.2.2 BIOS .......................................................... 123

    6.3 ................................................ 131 6.3.1 ........... 131 6.3.2 ............................................................................ 132

    6.4 ................................................................................. 134 7 ........................................................................................ 135

    7.1 ....................................................... 135 7.2 .............................................. 145

    8 ................................................ 150 : ................................................................................ 150 ADD ......................................................................................... 150 ......................................................................................... 151 DEC ......................................................................................... 152 DIV .......................................................................................... 152 INC .......................................................