汇编语言-注释

时间:2014-02-11 17:02:59   收藏:0   阅读:641

masm5.0编辑器,汇编语言注释

(1) 单行注释用;,注释行之前使用英文状态下的分号;
  mov al,ds:[6]  ;内存ds:[6]的内容送入al中

(2) 批量,多行注释
  comment *
  * comment 成对出现

bubuko.com,布布扣
 1 assume cs:code
 2 code segment
 3     mov ax,0ffffH
 4     mov ds,ax
 5     mov bx,0
 6     
 7     mov dx,0
 8     
 9 comment *
10     mov cx,12
11   s:mov al,[bx]
12     mov ah,0
13     add dx,ax
14     inc bx
15     loop s
16 * comment
17     
18     mov ax,4c00H
19     int 21h
20     
21 code ends
22 end
bubuko.com,布布扣

 

bubuko.com,布布扣

原文:http://www.cnblogs.com/galoishelley/p/3544041.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!