文件名称:wjyl3
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- 黄**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
已知从DS:2200H,ES:3200H单元起分别存放20个ASCII的字符。找出这两个字符串中第一个不同字符的位置(段内偏地址),并放入DS:22A0H开始的连续两个字单元中。请设计完成此任务的程序段。
(1)使用通常用的比较指令(CMP)实现;
(2)使用数据串比较指令(CMPSB)实现。
-DS: 2200H known from 3200H unit, ES: 20 ASCII store up respectively the characters. Find out the two strings in an article in the different character position (short), and partial address within the 22A0H began to add DS: two consecutive words unit. Please finish the task of designing the procedures section.
(1) using usually use comparative directive (CMP) implementation
(2) use data string comparative directive (CMPSB) to implement.
(1)使用通常用的比较指令(CMP)实现;
(2)使用数据串比较指令(CMPSB)实现。
-DS: 2200H known from 3200H unit, ES: 20 ASCII store up respectively the characters. Find out the two strings in an article in the different character position (short), and partial address within the 22A0H began to add DS: two consecutive words unit. Please finish the task of designing the procedures section.
(1) using usually use comparative directive (CMP) implementation
(2) use data string comparative directive (CMPSB) to implement.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
wjyl3.doc