作业帮 > 英语 > 作业

汇编语言程序设计 例题

来源:学生作业帮 编辑:百度作业网作业帮 分类:英语作业 时间:2024/06/26 01:10:23
汇编语言程序设计 例题
Calculate the memory address of the referenced data for the following.(a) the DS contains 4D25[0],and an instruction that moves data from memory to the AL is A02B04(where A0 means"move").(b)the DS contains 5B24[0],and an instruction that moves data from memory to the AL is A03A01.
汇编语言程序设计 例题
这段话是要求你从给出的引用数据计算数据的内存地址.
(a) 给出代码A02B04,算出包含了4D25数据的内存地址是多少.
(b) 给出代码A03A01,算出包含了5B24数据的内存地址是多少.
解(a),A02B04的对应汇编代码为mov al,[042B].明显的答案就是ds:042b.
解(b),同(a),内存地址是ds:013A.