(1)和(2):
assume cs:codesg
codesg segment
mov ax,0020h
mov ds,ax
mov bx,0
mov cx,64
s: mov [bx],bx
inc bx
loop s
mov ax,4c00h
int 21h
codesg ends
end
(3):
assume cs:codesg
codesg segment
mov ax,0020h
mov ds,ax
mov bx,0
mov cx,64
s: mov [bx],bx
i...
- [tomato] 有填错的哦!再看看!自己可以上机验证! 01/08 11:21
- [tomato] 正确! 01/08 11:20
- [tomato] 答案正确,至于第二题是中断的问题。不妨学到了再思考! 01/08 11:19
- [wuerlang] 第(3)有点问题哦? 希望博主仔细看一下题目的具体要求. 01/05 15:46
[2009-01-05 10:43] 实验4
阅读全文 |
评论次数(1) |
浏览次数(461) |
所属类型(汇编作业)
[2009-01-04 11:08] 实验3
在图片上面...
阅读全文 |
评论次数(0) |
浏览次数(362) |
所属类型(汇编作业)
[2009-01-04 10:58] 实验2
基本知识总结:
1:debug在处理D命令的程序段时,将段地址送入DS中
2:-d ds:0
-d cs:0
-d ss:0
-e ds:0
-u cs:0 -a ds:0 这样的命令都是可以的。
3:debug 在执行修改寄存器SS的指令时,下一条指令也紧接着执行,这是一种保护措失,
答案
(1)
ax=5bea
ax=5cca
bx=30f0
bx=6028
sp=00fe 修改的内存单元地址是220ff-220fe,内容为5cca
sp=00fc 修改的内存单元地址是220fd-220fc,内容为6028
sp=00fe ax...
1:debug在处理D命令的程序段时,将段地址送入DS中
2:-d ds:0
-d cs:0
-d ss:0
-e ds:0
-u cs:0 -a ds:0 这样的命令都是可以的。
3:debug 在执行修改寄存器SS的指令时,下一条指令也紧接着执行,这是一种保护措失,
答案
(1)
ax=5bea
ax=5cca
bx=30f0
bx=6028
sp=00fe 修改的内存单元地址是220ff-220fe,内容为5cca
sp=00fc 修改的内存单元地址是220fd-220fc,内容为6028
sp=00fe ax...
阅读全文 |
评论次数(1) |
浏览次数(477) |
所属类型(汇编作业)
[2009-01-04 10:48] 检测点3.2
(1)
mov ax,2000h
mov ss,ax
mov sp,0010h
(2)
mov ax,1000h
mov ss,ax
mov sp,0010h
注:这题主要是要了解清楚栈的入栈和出栈的方式。...
mov ax,2000h
mov ss,ax
mov sp,0010h
(2)
mov ax,1000h
mov ss,ax
mov sp,0010h
注:这题主要是要了解清楚栈的入栈和出栈的方式。...
阅读全文 |
评论次数(1) |
浏览次数(438) |
所属类型(汇编作业)
[2009-01-04 10:46] 检测点3.1
我直接写答案了呀:
(1)
mov ax,1
mov ds,ax
mov ax,[0000] ax=2662
mov bx,[0001] bx=e626
mov ax,bx ax=e626
mov ax,[0000] ax=2662
mov bx,[0002] bx=d6e6
add ax,bx ax=fc48
add ax,[0004] ax=2b14
mov ax,0 ax=0
mov al,[0002] ax=00e6
mov bx,0 bx=0
mov bl,[000c] bx=0026
add al,bl ...
(1)
mov ax,1
mov ds,ax
mov ax,[0000] ax=2662
mov bx,[0001] bx=e626
mov ax,bx ax=e626
mov ax,[0000] ax=2662
mov bx,[0002] bx=d6e6
add ax,bx ax=fc48
add ax,[0004] ax=2b14
mov ax,0 ax=0
mov al,[0002] ax=00e6
mov bx,0 bx=0
mov bl,[000c] bx=0026
add al,bl ...
阅读全文 |
评论次数(1) |
浏览次数(457) |
所属类型(汇编作业)