汇编语言: 缓冲区
2017-05-25 23:58
309 查看
关于缓冲区
s1 segment stack dw 20h dup(?) top label word s1 ends s2 segment buf db 100,?,100 dup(?) s2 ends s3 segment assume cs:s3,ds:s2,ss:s1 p proc far mov ax,s1 mov ss,ax lea sp,top ;----------------------------------------- mov ax,s2 mov ds,ax ;----------------------------------------- lea dx,buf mov ah,0ah int 21h ;----------------------------------------- mov dl,0ah mov ah,02h int 21h ;----------------------------------------- lea si,buf inc si mov cl,[si] inc si xor ch,ch l1: mov dl,[si] mov ah,2 int 21h inc si loop l1 mov ah,4ch int 21h p endp s3 ends end p
相关文章推荐
- 汇编语言: 试编制一个程序:从键盘输入一行字符,要求第一个键入的字符必须是空格符,如不 是,则退出程序;如是,则开始接收键入的字符并顺序存放在首地址为buffer的缓冲区中(空 格符不存入),直到接收
- 汇编语言中缓冲区的定义
- 汇编语言-----字符串的输入利用int 16h读取键盘缓冲区
- 不一般的hello world--用汇编语言直接操作视频缓冲区
- 汇编语言八 编写程序实现,将缓冲区BUFFER中的100个字按递增排序
- Windows汇编语言简明教程——基础篇
- 汇编语言——统计一个字符串中的大写字母、小写字母、数字和其他字符的个数,并显示
- 汇编语言(2)
- 汇编语言超浓缩教程(选择自 lbsjs 的 Blog)
- 实训汇编语言设计——存储区数据传输
- 用32位汇编语言写的一个简单的表达式计算器
- 学习:汇编语言
- Windows10下搭建汇编语言开发环境(利用DOSBOX和MASM32)
- 实训汇编语言设计——找出两个数组中相同的整数
- 汇编语言-实验14--201202版
- 急求解:汇编语言课程设计
- 汇编语言数值显示 的子程序dtoc.asm
- 使用MASM01 - Win32汇编语言009
- <学习笔记>王爽汇编语言__包含多个段的程序
- 汇编语言——80x86指令系统(一)