摘要:
实验四 实验任务1 任务内容: 教材「实验9 根据材料编程」(P187-189) 编程:在屏幕中间分别显示绿色、绿底红色、白底蓝色的字符串'welcome to masm!'。 程序正确编写后,预期输出结果如下: 实验结果 assume cs:code data segment db 'welcom 阅读全文
摘要:
实验三 1. 实验任务1 代码及其分析 assume cs:code, ds:data data segment ;数据段 db 'Nuist' ;连续的内存单元赋值'Nuist'和22222 db 5 dup(2) data ends code segment ;代码段 start: mov ax 阅读全文
摘要:
实验结论 实验任务1 ;ex1.asm assume cs:code code segment mov ax, 0b810h mov ds, ax mov byte ptr ds:[0], 1 mov byte ptr ds:[1], 1 mov byte ptr ds:[2], 2 mov byt 阅读全文
摘要:
实验结论 教材实验1(P35) 实验任务(1) e命令写入: a命令写入: 分析: 每次执行t命令时,CS不变,IP增加3 实验任务(2) 分析: ax的值初始为1,ax=ax+ax=2,CS:IP跳回2000:0003,即循环; ax=ax+ax=4,... 以此类推,ax的值从20到21到22. 阅读全文