随笔分类 -  汇编

摘要:;电子琴 data segment note dw 262,294,330,349,392,440,494,523,578,659,698 data ends code segment assume ds:data , cs:code main proc far mov ax,data mov ds,ax begin: call input ... 阅读全文
posted @ 2016-06-06 23:06 式微胡不归 阅读(222) 评论(0) 推荐(0)
摘要:main proc far mov ax,data mov ds,ax mov ah,2ch int 21h mov ah,4ch int 21hmain endp 阅读全文
posted @ 2016-06-06 23:06 式微胡不归 阅读(203) 评论(0) 推荐(0)
摘要:data segment pmax db 0dh,0ah , 'MAX : ','$' pmin db 0dh,0ah , 'MIN : ','$' buf dw 48,-2 ,49,50,30,-78,-88,-60,-1,48 max dw 99 min dw 20data endscode s 阅读全文
posted @ 2016-05-29 20:05 式微胡不归 阅读(3569) 评论(0) 推荐(0)
摘要:start: mov ax,200 mov dx,0 mov cx,0 mov bx,0ah test ax , 8000h jz p neg ax mov bx,ax mov dl,2dh mov ah,2 int 21h mov dx,0 mov ax,bx mov bx,0ahp: div b 阅读全文
posted @ 2016-05-29 19:58 式微胡不归 阅读(1626) 评论(0) 推荐(0)
摘要:定义字符串的时候要加'$'结束标志。 mov ah , 09h ; 是输出字符串的指令 mov ah, 4ch ;是返回dos 阅读全文
posted @ 2016-05-08 10:36 式微胡不归 阅读(106) 评论(0) 推荐(0)