微机原理与应用-课后编程题-裘雪红版(3)

2020-04-14 02:54

mov ah,4ch int 21h

code ends end start

7、编写10个字节之和,并显示结果的程序。 data segment data_1 db 0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh data ends stack segment para stack db 200 dup(?) stack ends code segment assume

cs:code,ds:data,es:data,ss:stack start: mov ax,data mov ds,ax mov cx,10 lea si,data_1 xor ax,ax xor dx,dx

trsmt: mov bl,[si] add al,bl adc ah,0

10

inc dec jnz push pop

mov rotate1: mov rol mov and add cmp jl

add printit1: mov mov int dec jnz mov int code ends end start

si cx trsmt ax bx ch,4 cl,4 bx,cl al,bl al,0fh al,30h al,3ah printit1 al,7h dl,al ah,2 21h ch rotate1 ah,4ch 21h


微机原理与应用-课后编程题-裘雪红版(3).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:美容美发行业APP解决方案

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: