亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? basm.doc

?? hello everybody. good lucky to you
?? DOC
?? 第 1 頁 / 共 3 頁
字號:





CONTENTS
___________________________________________________________________________





Chapter 1  BASM.DOC                1         Inline assembly and register
  Inline assembly language . . . . 1         variables . . . . . . . . .  7
    BASM . . . . . . . . . . . . . 1         Inline assembly, offsets, and
    Inline syntax  . . . . . . . . 2         size overrides  . . . . . .  7
    Opcodes  . . . . . . . . . . . 3       Using C structure members . .  7
      String instructions  . . . . 5       Using jump instructions and
      Prefixes . . . . . . . . . . 5       labels  . . . . . . . . . . .  8
      Jump instructions  . . . . . 5     Interrupt functions . . . . . .  9
      Assembly directives  . . . . 6     Using low-level practices . . . 10
    Inline assembly references to
    data and functions . . . . . . 6   Index                             13

































                                     i






TABLES
___________________________________________________________________________





1.1: Opcode mnemonics  . . . . . . 4   1.3: Jump instructions  . . . . . .6
1.2: String instructions . . . . . 5










































                                    ii












Online document
___________________________________________________________________________



                                                                   BASM.DOC


                    This online file tells you how to use the Turbo C++
                    built-in inline assembler (BASM) to include assembly
                    language routines in your C and C++ programs without
                    any need for a separate assembler. Such assembly
                    language routines are called inline assembly, because
                    they are compiled right along with your C routines,
                    rather than being assembled separately, then linked
                    together with modules produced by the C compiler.

                    Of course, Turbo C++ also supports traditional mixed-
                    language programming in which your C program calls
                    assembly language routines (or vice-versa) that are
                    separately assembled by TASM (Turbo Assembler), sold
                    separately. In order to interface C and assembly
                    language, you must know how to write 80x86 assembly
                    language routines and how to define segments, data
                    constants, and so on. You also need to be familiar with
                    calling conventions (parameter passing sequences) in C
                    and assembly language, including the pascal parameter
                    passing sequence in C.

   Inline assembly  =======================================================
          language
                    Turbo C++ lets you write assembly language code right
                    inside your C and C++ programs. This is known as inline
                    assembly.

------------------  If you don't invoke TASM, Turbo C++ can assemble your
              BASM  inline assembly instructions using the built-in
------------------  assembler (BASM). This assembler can do everything TASM
                    can do with the following restrictions:

                    o It cannot use assembler macros




                                   - 1 -






                    o It cannot handle 80386 or 80486 instructions

                    o It does not permit Ideal mode syntax

                    o It allows only a limited set of assembler directives
                      (see page 6)


------------------  Of course, you also need to be familiar with the 80x86
     Inline syntax  instruction set and architecture. Even though you're
------------------  not writing complete assembly language routines, you
                    still need to know how the instructions you're using
                    work, how to use them, and how not to use them.

                    Having done all that, you need only use the keyword asm
                    to introduce an inline assembly language instruction.
                    The format is

                       asm  opcode  operands ; or newline

                    where

                    o opcode is a valid 80x86 instruction (Table 1.0 lists
                      all allowable opcodes).

                    o operands contains the operand(s) acceptable to the
                      opcode, and can reference C constants, variables, and
                      labels.

                    o ; or newline is a semicolon or a new line, either of
                      which signals the end of the asm statement.

                    A new asm statement can be placed on the same line,
                    following a semicolon, but no asm statement can
                    continue to the next line.

                    To include a number of asm statements, surround them
                    with braces:

 The initial brace   asm {
must appear on the      pop ax; pop ds
  same line as the      iret
      asm keyword.   }

                    Semicolons are not used to start comments (as they are
                    in TASM). When commenting asm statements, use C-style
                    comments, like this:




                                   - 2 -






                     asm mov ax,ds;               /* This comment is OK */
                     asm {pop ax; pop ds; iret;}  /* This is legal too */
                     asm push ds                  ;THIS COMMENT IS
                     INVALID!!

                    The assembly language portion of the statement is
                    copied straight to the output, embedded in the assembly
                    language that Turbo C++ is generating from your C or
                    C++ instructions. Any C symbols are replaced with ap-
                    propriate assembly language equivalents.

                    Because the inline assembly facility is not a complete
                    assembler, it may not accept some assembly language
                    constructs. If this happens, Turbo C++ will issue an
                    error message. You then have two choices. You can
                    simplify your inline assembly language code so that the
                    assembler will accept it, or you can use an external
                    assembler such as TASM. However, TASM might not identi-
                    fy the location of errors, since the original C source
                    line number is lost.

                    Each asm statement counts as a C statement. For
                    example,

                     myfunc()
                     {
                        int  i;
                        int x;

                        if  (i > 0)
                           asm  mov  x,4
                        else
                           i = 7;
                     }

                    This construct is a valid C if statement. Note that no
                    semicolon was needed after the mov x,4 instruction. asm
                    statements are the only statements in C that depend on
                    the occurrence of a new line. This is not in keeping
                    with the rest of the C language, but this is the
                    convention adopted by several UNIX-based compilers.

                    An assembly statement can be used as an executable
                    statement inside a function, or as an external
                    declaration outside of a function. Assembly statements
                    located outside any function are placed in the data
                    segment, and assembly statements located inside func-
                    tions are placed in the code segment.



                                   - 3 -






------------------  You can include any of the 80x86 instruction opcodes as
           Opcodes  inline assembly statements. There are four classes of
------------------  instructions allowed by the Turbo C++ compiler:

                    o normal instructions--the regular 80x86 opcode set

                    o string instructions--special string-handling codes

                    o jump instructions--various jump opcodes

                    o assembly directives--data allocation and definition

                    Note that all operands are allowed by the compiler,
                    even if they are erroneous or disallowed by the

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩激情在线| 成人av免费在线播放| 婷婷六月综合亚洲| 亚洲成av人影院| 亚洲福中文字幕伊人影院| 亚洲午夜久久久久久久久电影院 | 亚洲天堂精品在线观看| 国产精品国产自产拍高清av| 亚洲国产精品精华液ab| 最好看的中文字幕久久| 亚洲乱码国产乱码精品精的特点| 日韩美女啊v在线免费观看| 亚洲欧洲美洲综合色网| ●精品国产综合乱码久久久久| 亚洲免费电影在线| 天涯成人国产亚洲精品一区av| 日韩av在线发布| 国产凹凸在线观看一区二区| 91麻豆免费看片| 欧美精品丝袜久久久中文字幕| 日韩亚洲欧美高清| 国产日韩精品视频一区| 亚洲欧洲日韩女同| 日韩综合小视频| 国产成人一区二区精品非洲| 色婷婷av一区二区三区之一色屋| 欧美日韩成人一区二区| 欧美精品一区二区三区在线播放| 中文字幕字幕中文在线中不卡视频| 亚洲大型综合色站| 国产一区二区三区观看| 色94色欧美sute亚洲线路二 | 国产无人区一区二区三区| 国产精品欧美一区二区三区| 一区二区欧美国产| 国产麻豆午夜三级精品| 欧美日韩日日摸| 国产香蕉久久精品综合网| 一区二区视频在线| 国产一区二区h| 欧美手机在线视频| 日韩美女视频一区二区| 国内精品伊人久久久久av一坑| 91久久国产综合久久| 国产日韩视频一区二区三区| 亚洲第一精品在线| 91视频com| 久久久99精品久久| 日韩精品免费视频人成| 99精品桃花视频在线观看| 久久天天做天天爱综合色| 午夜伊人狠狠久久| 91亚洲精品乱码久久久久久蜜桃 | 国产黄色91视频| 日韩一级二级三级精品视频| 亚洲欧美日韩电影| 国产一区二区三区| 精品三级av在线| 日韩影院在线观看| 欧美亚洲国产怡红院影院| 亚洲日本在线看| 国产91色综合久久免费分享| 日韩欧美在线1卡| 五月激情综合婷婷| 在线观看国产一区二区| 亚洲人妖av一区二区| 岛国一区二区三区| 国产欧美一区二区精品秋霞影院| 蜜臀av性久久久久蜜臀aⅴ| 91麻豆精品国产无毒不卡在线观看| 亚洲精品免费电影| 色8久久人人97超碰香蕉987| 中文字幕一区二区不卡| 91蜜桃视频在线| 亚洲日本丝袜连裤袜办公室| 91在线视频网址| 亚洲精品欧美专区| 欧美日韩不卡视频| 免费亚洲电影在线| 欧美精品一区二区三| 国产一区二区三区日韩| 国产日韩欧美电影| 99久久精品国产精品久久 | 8x8x8国产精品| 日本午夜精品视频在线观看| 日韩欧美电影在线| 老司机午夜精品| 中文字幕巨乱亚洲| 在线中文字幕一区二区| 亚洲国产日日夜夜| 日韩一区二区电影| 国产成人99久久亚洲综合精品| ㊣最新国产の精品bt伙计久久| 91精品福利在线| 日本网站在线观看一区二区三区| 精品国产欧美一区二区| 国产成a人亚洲| 亚洲一二三区在线观看| 亚洲精品一区二区三区四区高清| 国产不卡视频一区| 亚洲一卡二卡三卡四卡| 精品免费国产二区三区| 成人av电影在线播放| 午夜视频在线观看一区| 国产欧美日韩精品在线| 在线一区二区三区四区五区 | 久久精品亚洲乱码伦伦中文 | 国产精品亚洲综合一区在线观看| 亚洲日本在线观看| 欧美xxxxx牲另类人与| 99久久精品免费精品国产| 日韩精品91亚洲二区在线观看| 久久久久久**毛片大全| 欧美午夜在线一二页| 国产电影一区在线| 婷婷丁香激情综合| 国产精品美女久久福利网站| 欧美日本一区二区三区四区| 成人污污视频在线观看| 日本在线播放一区二区三区| 欧美精品电影在线播放| 99re热这里只有精品视频| 蜜臀久久久99精品久久久久久| 亚洲欧美激情视频在线观看一区二区三区| 欧美一级日韩一级| 在线免费观看日本欧美| 成人三级伦理片| 美女网站视频久久| 亚洲国产一二三| 亚洲免费观看高清完整版在线观看 | 成人动漫一区二区| 久久国产欧美日韩精品| 性感美女极品91精品| 亚洲色图欧美在线| 中文字幕日韩欧美一区二区三区| 欧美成人三级在线| 在线成人小视频| 91黄色激情网站| 99精品热视频| 99精品偷自拍| 91伊人久久大香线蕉| 风流少妇一区二区| 国模一区二区三区白浆| 奇米777欧美一区二区| 亚洲福中文字幕伊人影院| 亚洲精品国产精品乱码不99 | 在线不卡一区二区| 在线视频你懂得一区二区三区| 99久久伊人久久99| 成人av在线播放网址| 国产在线视频不卡二| 久久狠狠亚洲综合| 国产精品系列在线观看| 国产高清不卡二三区| 成人午夜又粗又硬又大| 97精品国产97久久久久久久久久久久| 国产成人在线网站| 99久久精品国产毛片| 97精品久久久午夜一区二区三区 | 蜜桃一区二区三区在线观看| 视频一区二区欧美| 免费xxxx性欧美18vr| 裸体一区二区三区| 国产剧情在线观看一区二区| 丁香网亚洲国际| 91色视频在线| 欧美丰满少妇xxxxx高潮对白| 91麻豆精品国产自产在线 | 欧美日韩在线免费视频| 91精品综合久久久久久| 久久久亚洲精华液精华液精华液| 欧美极品少妇xxxxⅹ高跟鞋| 日韩一区日韩二区| 丝袜美腿亚洲一区| 国产乱码精品一区二区三区五月婷 | 色琪琪一区二区三区亚洲区| 欧美日韩亚洲国产综合| 日韩三级在线观看| 国产欧美va欧美不卡在线| 一区二区成人在线观看| 精品一区二区在线看| 99久精品国产| 日韩精品一区在线| 综合色天天鬼久久鬼色| 日本亚洲免费观看| 99re视频精品| 欧美tickling挠脚心丨vk| 亚洲欧洲精品一区二区三区不卡| 亚洲电影一级黄| 成人高清av在线| 欧美一级久久久| 亚洲人成伊人成综合网小说| 免费在线观看视频一区| 色诱视频网站一区| 久久久久88色偷偷免费| 天天综合日日夜夜精品| 成人91在线观看| 久久综合久久综合亚洲| 亚洲一区二区三区爽爽爽爽爽| 国产成人精品影视|