2016 - 2024

感恩一路有你

汇编语言大小写字母相互转化 汇编语言顺序程序设计:从键盘输入一个字符串,讲其中的小写字母转换为大写字母,然后原样输出?

浏览量:1884 时间:2021-03-15 22:50:26 作者:admin

汇编语言顺序程序设计:从键盘输入一个字符串,讲其中的小写字母转换为大写字母,然后原样输出?

#include<stdio.h>

int main(void)

{

char c

while((c=getchar())!=EOF)

{

if(c>=“a”&&&&;amp&;amp&;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp,axcall show显示源字符串mov ax,0e0dhint 10hmov Al,0ahint 10h,大写字母转换为小写字母lea Si,bufmov Di,sicldmov CX,n下一个:lodsbor al转换结果mov ah,1int 21hmov ah,4chint 21显示在loop nextcall show中展示:李思,BUFmov cx,nQ0:lodsbmov ah,0ehint 10hloop Q0retcode endsend start开始

汇编语言大小写字母相互转化 汇编语言小写转换大写程序 汇编语言大写变小写

版权声明:本文内容由互联网用户自发贡献,本站不承担相关法律责任.如有侵权/违法内容,本站将立刻删除。