此步骤的任务是整合四个功能子程序,并测试int 7ch中断程序,保证程序的完整性和严密性,以便中断程序安装
assume cs:code
code segment
start:
mov ah,2
mov al,71h
call int7c
mov ax,4c00h
int 21h
int7c:
jmp short int7cstart
table dw clear,setfg,setbg,rollup
int7cstart:
...
- [kuiye] 为什么大家的中断处理程序都没有用iret指令来返回? 12/25 10:41
- [zy3287] 恩,是啊,我也是过后才想起这个问题的,应该dl*2才对,呵呵 11/27 08:37
- [lwbfq] 安装的时候还会遇到一些问题,相信博主是能够解决的。 11/26 19:17
- [lwbfq] 继续。 11/26 19:07
- [wsrf] 不错。 11/26 17:20
- [wsrf] 程序没问题,大家一起进步。 11/26 17:18
- [wsrf] 没问题。 11/26 17:13
- [wsrf] 完成的不错。 11/26 17:04
- [wsrf] 博主继续努力。 11/26 17:00
- [wsrf] 还是show_str: 的老问题,列不能定位到0。 11/26 16:59
- [游客] 你好,zy3287 可以给一份银行的网银接口文档吗 QQ 99728441 01/31 02:34
[2008-11-26 14:20] 第十六章 实验十六的前奏之编写int 7ch中断程序(测试,没有安装)
阅读全文 |
评论次数(1) |
浏览次数(540) |
所属类型(汇编作业)
[2008-11-26 13:55] 第十六章 实验十六的前奏之编写功能子程序
这里主要是先把要应用的四个子程序进行测试,参考16.4
此步骤的任务是测试四个功能子程序,保证程序的完整性和严密性
(1)清屏 (子程序clear)
assume cs:code
code segment
start:
call clear
mov ax,4c00h
int 21h
clear:
push bx
push cx
push es
mov bx,0b800h
mov es,bx
mov bx...
此步骤的任务是测试四个功能子程序,保证程序的完整性和严密性
(1)清屏 (子程序clear)
assume cs:code
code segment
start:
call clear
mov ax,4c00h
int 21h
clear:
push bx
push cx
push es
mov bx,0b800h
mov es,bx
mov bx...
阅读全文 |
评论次数(1) |
浏览次数(498) |
所属类型(汇编作业)
[2008-11-26 11:30] 第十四章 实验十四
assume cs:code
code segment
tim:
db 9,8,7,4,2,0
start:
mov bx,cs
mov ds,bx
mov bx,0b800h
mov es,bx
mov bx,07C0h
mov si,offset tim
mov di,0
mov cx,6
s1:
push cx
mov al,[si]
call show_time
...
code segment
tim:
db 9,8,7,4,2,0
start:
mov bx,cs
mov ds,bx
mov bx,0b800h
mov es,bx
mov bx,07C0h
mov si,offset tim
mov di,0
mov cx,6
s1:
push cx
mov al,[si]
call show_time
...
阅读全文 |
评论次数(1) |
浏览次数(460) |
所属类型(汇编作业)
[2008-11-26 11:29] 第十三章 实验十三(3)
assume cs:code
code segment
s1:
db 'Good,better,best,','$'
s2:
db 'Never let it rest,','$'
s3:
db 'Till good is better,','$'
s4:
db 'And better,best.','$'
s:
dw offset s1,offset s2,offset s3,offset s4
row:
db 2,4,6,8
...
code segment
s1:
db 'Good,better,best,','$'
s2:
db 'Never let it rest,','$'
s3:
db 'Till good is better,','$'
s4:
db 'And better,best.','$'
s:
dw offset s1,offset s2,offset s3,offset s4
row:
db 2,4,6,8
...
阅读全文 |
评论次数(3) |
浏览次数(498) |
所属类型(汇编作业)
[2008-11-26 11:28] 第十二章 实验十二
assume cs:code
code segment
start:
mov ax,cs
mov ds,ax
mov si,offset d0
mov ax,0
mov es,ax
mov di,0200h
mov cx,offset d0end - offset d0
cld
rep movsb
mov word ptr es:[0*4],0200h
mov word ptr es:[0*4+2],000...
code segment
start:
mov ax,cs
mov ds,ax
mov si,offset d0
mov ax,0
mov es,ax
mov di,0200h
mov cx,offset d0end - offset d0
cld
rep movsb
mov word ptr es:[0*4],0200h
mov word ptr es:[0*4+2],000...
阅读全文 |
评论次数(2) |
浏览次数(490) |
所属类型(汇编作业)
[2008-11-26 11:27] 第十一章 实验十一
在原作业的要求上加入了结果输出
;////////////////////////////////////////////////////////////////////////////////
;// 存放在data中的字符串大写字母转化成小写,并显示出来 //
;////////////////////////////////////////////////////////////////////////////////
assume cs:code
data segment
db "Be...
;////////////////////////////////////////////////////////////////////////////////
;// 存放在data中的字符串大写字母转化成小写,并显示出来 //
;////////////////////////////////////////////////////////////////////////////////
assume cs:code
data segment
db "Be...
阅读全文 |
评论次数(1) |
浏览次数(380) |
所属类型(汇编作业)
[2008-11-26 11:26] 课程设计一
这个程序先后进行了几次修改,感觉现在还是比较简单的
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;++ ++
;++ 课程设计一(完成于08/11/23,修改于08/11/25) ++
;++ ...
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;++ ++
;++ 课程设计一(完成于08/11/23,修改于08/11/25) ++
;++ ...
阅读全文 |
评论次数(1) |
浏览次数(437) |
所属类型(汇编作业)
[2008-11-26 11:25] 第十章 实验十 子程序dtoc
对原作业要求进行了修改,包含了除法溢出
assume cs:code
data segment
db 10 dup (0)
data ends
code segment
start:
mov ax,9768h
mov dx,005ah
mov bx,data
mov ds,bx
mov si,0
call dtoc
mov dh,8
mov dl,3
mov cl,2
call show_str ...
assume cs:code
data segment
db 10 dup (0)
data ends
code segment
start:
mov ax,9768h
mov dx,005ah
mov bx,data
mov ds,bx
mov si,0
call dtoc
mov dh,8
mov dl,3
mov cl,2
call show_str ...
阅读全文 |
评论次数(1) |
浏览次数(527) |
所属类型(汇编作业)
[2008-11-26 11:24] 第十章 实验十 子程序divaw
assume cs:code
stack segment
dw 8 dup (0)
stack ends
code segment
start:
mov ax,stack
mov ss,ax
mov sp,10h
mov ax,9768h
mov dx,005ah
mov cx,000ah
call divaw
mov ax,4c00h
int 21h
divaw:
push ax
...
stack segment
dw 8 dup (0)
stack ends
code segment
start:
mov ax,stack
mov ss,ax
mov sp,10h
mov ax,9768h
mov dx,005ah
mov cx,000ah
call divaw
mov ax,4c00h
int 21h
divaw:
push ax
...
阅读全文 |
评论次数(1) |
浏览次数(459) |
所属类型(汇编作业)
[2008-11-26 11:24] 第十章 实验十 子程序shwo_str
assume cs:code
data segment
db 'welcome to masm!',0
data ends
code segment
start:
mov dh,8
mov dl,3
mov cl,2
mov ax,data
mov ds,ax
mov si,0
call show_str
mov ax,4c00h
int 21h
show_str:
mov al,0a0h
...
data segment
db 'welcome to masm!',0
data ends
code segment
start:
mov dh,8
mov dl,3
mov cl,2
mov ax,data
mov ds,ax
mov si,0
call show_str
mov ax,4c00h
int 21h
show_str:
mov al,0a0h
...
阅读全文 |
评论次数(2) |
浏览次数(402) |
所属类型(汇编作业)
『 查看更多文章 』