摘要: assume cs:code stack segment db 128 dup(0) stack ends code segment start: mov ax,stack mov ss,ax mov sp,128 push cs pop ds mov si,offset... 阅读全文
posted @ 2017-06-21 13:03 cs的蜗牛 阅读(210) 评论(1) 推荐(0) 编辑
摘要: assume cs:code code segment start: mov ax,0b800h mov es,ax mov di,160*12+30*2 mov al,0ah push di rdata: dec al cmp al,7 jb rtime cal... 阅读全文
posted @ 2017-06-21 12:51 cs的蜗牛 阅读(115) 评论(0) 推荐(0) 编辑
摘要: assume cs:code code segment start: mov ax,cs mov ds,ax mov si,offset sqr mov ax,0 mov es,ax mov di,200h mov cx,offset sqrend - offset sqr cld rep movsb mov a... 阅读全文
posted @ 2017-06-21 12:41 cs的蜗牛 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 除法溢出的时候,在屏幕中心处显示overflow! 阅读全文
posted @ 2017-06-21 12:32 cs的蜗牛 阅读(140) 评论(0) 推荐(0) 编辑
摘要: assume cs:code,ds:data data segment db "Beginner's All-purpose Symbolic Instruction Code.",0 data ends code segment start: mov ax,data mov ds,ax mov si,0 call letterc mov a... 阅读全文
posted @ 2017-06-21 12:17 cs的蜗牛 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 预备知识: 清屏:若要显示这些数据,不希望被之前的信息所影响,所以先把屏幕清理; 写成函数的形式: 效果相同 对于字符串的显示程序: 要求:把试验七的数据显示在屏幕上 阅读全文
posted @ 2017-06-03 18:44 cs的蜗牛 阅读(915) 评论(0) 推荐(0) 编辑
摘要: 实验二:除法溢出 结果正确 实验三:把data段的数据以十进制的形式显示出来 阅读全文
posted @ 2017-06-02 17:23 cs的蜗牛 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 1、输出三种不同颜色的字符串 阅读全文
posted @ 2017-06-01 23:44 cs的蜗牛 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1.分析一个奇怪的程序 阅读全文
posted @ 2017-06-01 16:34 cs的蜗牛 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1. 计算给出数据的人均收入,并且填到表中 阅读全文
posted @ 2017-06-01 11:52 cs的蜗牛 阅读(208) 评论(0) 推荐(0) 编辑