<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # **Loop指令** Loop 標號 ![](https://img.kancloud.cn/75/02/750264f4378544c2a4adbda34db39806_816x379.png) ``` assume cs:code code segment mov ax,2 mov cx,11 s:add ax,ax loop s mov ax,4c00H int 21H code ends end ``` ![](https://img.kancloud.cn/b6/6c/b66c064eacfe16d54a072433513d8208_669x296.png) ![](https://img.kancloud.cn/03/ae/03ae00a32e3ed2ddcd205b8021c7e07e_641x402.png) ![](https://img.kancloud.cn/b2/66/b2660f0e72bb9c5356deb5155267377f_630x385.png) ![](https://img.kancloud.cn/0f/e2/0fe26b14bae124814ca47b1fb644122f_594x323.png) ![](https://img.kancloud.cn/fb/97/fb97d306c00b97cb1c28f7e769ab3744_638x242.png) **編程2^12** ``` assume cs:code code segment mov ax,2 mov cx,11 s:add ax,ax loop s mov ax,4c00H int 21H code ends end ``` 過程: ![](https://img.kancloud.cn/21/56/21560e6758a89d637bdb838ad45c1a07_1871x973.png) **計算123x236,結果存儲在ax中** 方法:用加法實現乘法,將123連加236次 ``` assume cs:code code segment mov ax,0 mov cx,236 s:add ax,123 loop s mov ax,4c00H int 21H code ends end ``` **計算ffff:0006字節單元中的數乘以3,結果存儲在dx中** 分析:將ffff:0006從內存中取出連加3次 ![](https://img.kancloud.cn/d9/40/d94049e4bec4aeafdf0dcae0e325439a_1841x992.png) ``` assume cs:code code segment mov ax,0ffffH mov ds,ax mov bx,6 #//(ax)=((ds)816+(bx))注意審題取出的是字節,所以這里將偏移地址的值ds:[bx]放到高八位中 mov al,[bx] #//注意第八位初始可能是其他值,這里需要重置為0 mov ah,0 #//注意這里 mov dx,0 mov cx,3 s:add dx,ax loop s mov ax,4c00H int 21H code ends end ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看