- [mywiil] 可以看看别人的程序处理思路,把属性定义成一个数据段。那样处理起来更好更合理。 08/21 03:36
- [mywiil] 没问题。 08/21 03:31
- [mywiil] OK。加油。 08/21 03:28
- [mywiil] 嗯哪。 08/21 03:28
- [mywiil] 恩,没问题,但是结果首先要自己先的出来,然后,在运行验证,反了就没意义咯 08/21 03:24
- [masmaster] NB~~~ 08/13 21:38
- [masmaster] 咋就一个蛋蛋啦? 08/11 10:11
- [masmaster] 好新鲜的水果呀~~~(¯﹃¯)~~~ 08/09 13:49
- [masmaster] good~~~ 08/07 22:53
- [mess] 正确。 08/06 10:28
- [masmaster] 没有呀! 08/13 22:44
- [游客] 只有板凳了...希望有一天能热泪庆祝来访人数过万...啊哈... 08/09 18:50
- [masmaster] 你的博客真好玩 08/07 17:08
[2010-08-25 20:59] 实验十(第二个),用了栈,实在是没寄存器用了,检测很成功
assume cs:code
code segment
mov ax,4240h
mov dx,000fh
mov cx,0ah
call divdw
mov ax,4c00h
int 21h
divdw:
mov bx,ax
mov ax,dx
mov dx,0
div cx
push ax
mov ax,bx
div cx
mov cx,dx
pop dx
ret
code ends
end
code segment
mov ax,4240h
mov dx,000fh
mov cx,0ah
call divdw
mov ax,4c00h
int 21h
divdw:
mov bx,ax
mov ax,dx
mov dx,0
div cx
push ax
mov ax,bx
div cx
mov cx,dx
pop dx
ret
code ends
end
评论次数(0) |
浏览次数(698) |
类型(汇编作业) |
收藏此文 |