摘要:        
assume cs:codecode segmentmain: mov ax,1 mov bx,2 call s ;执行子程序 s add ax,bx mov ax,4c00h ;执行后ax=5 bx=2 int 21h s: add ax,bx ;s子程序 ret ;相当于返回到CALL 执行CALL下一条指令 ,(堆栈取IP_执行call指令已压入堆栈) code endse...    阅读全文
posted @ 2013-11-21 14:25
yangsan
阅读(160)
评论(0)
推荐(0)
        
            
        
        
摘要:        
;显存显示hello word (1)通常方式data segment db ' hello word 'data endscode segment stack: mov ax,data mov ds,ax mov ax,0b800h mov es,ax mov bx,0 mov di,0 mov cx,16 s: mov al,[bx] mov ah,2h ;颜色 mov es:[di+72...    阅读全文
posted @ 2013-11-21 12:53
yangsan
阅读(311)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号