函数
zhangfangqioo
这个作者很懒,什么都没留下…
展开
-
函数——show_str
show_str: ; si 源地址di 行号 dl 字体push axpush bxpush cxpush dxpush sipush dipush esmov ax,0b800hmov es,ax mov ax,160 ;计算行地址mov bx,dimul blmov di,axs5: mov cl,[si原创 2017-01-12 11:17:58 · 3455 阅读 · 0 评论 -
函数——itoa32位
itoa: push ax ;si源地址,di目标地址push bxpush cxpush sipush disub bp,bp ;bp表示字符串的个数mov ax,[si] ;将5937000整型数据装入ax,dx中mov dx,[si+2]mov bx,10s: mov si,ax ;保存L位m原创 2017-01-12 11:19:31 · 282 阅读 · 0 评论