1. 首页
  2. 编程语言
  3. 硬件开发
  4. 汇编 表格形式显示字符

汇编 表格形式显示字符

上传者: 2018-12-29 10:41:42上传 RAR文件 15.36KB 热度 33次
实验二_用表格形式显示字符 datarea segment datarea ends prognam segment main proc far assume cs:prognam,ds:datarea start: push ds sub ax,ax push ax mov ax,datarea mov ds,ax mov es,ax mov dl,10h mov ch,0 next0: mov cl,0 next1: mov ah,02h int 21h push dx mov ah,02h mov dl,0 int 21h pop dx inc dl inc cl next2: cmp cl,16 jne next1 push dx mov ah,02h mov dl,0dh int 21h mov ah,02h mov dl,0ah int 21h pop dx inc ch cmp ch,15 jne next0 ret main endp prognam ends end start int 21h mov ah,02h mov dl,0ah int 21h pop dx inc ch cmp ch,15 jne next0 ret main endp prognam ends end start
用户评论