[2011-05-04 19:33] 实验 15
;================================
;汇编讨论群:25617704
;欢迎大家进入,讨论,学习
;共同努力
;================================
assume cs:code
stack segment
db 128 dup (0)
stack ends
data segment
dw 0,0
data ends
code segment
start:mov ax,stack
mov ss,ax
mov sp,1...
;汇编讨论群:25617704
;欢迎大家进入,讨论,学习
;共同努力
;================================
assume cs:code
stack segment
db 128 dup (0)
stack ends
data segment
dw 0,0
data ends
code segment
start:mov ax,stack
mov ss,ax
mov sp,1...
阅读全文 |
评论次数(0) |
浏览次数(509) |
所属类型(实验)
[2011-04-29 15:12] 实验 14
assume cs:code
data segment
db 0,2,4,7,8,9
db ':',':',' ','/','/',' '
data ends
stack segment
dw 20 dup (0)
stack ends
code segment
start:mov ax,0b800h
mov es,ax
mov di,160*12+40*2
mov ax,data
mov ds,ax
mo...
data segment
db 0,2,4,7,8,9
db ':',':',' ','/','/',' '
data ends
stack segment
dw 20 dup (0)
stack ends
code segment
start:mov ax,0b800h
mov es,ax
mov di,160*12+40*2
mov ax,data
mov ds,ax
mo...
阅读全文 |
评论次数(0) |
浏览次数(502) |
所属类型(实验)
[2011-04-28 16:58] 实验 13(2)
assume cs:code
code segment
ok:mov ax,cs
mov ds,ax
mov si,offset zd ;中断例程地址
mov ax,0
mov es,ax
mov di,200H ;设置中断例程的目标地址
mov cx,offset zd1-offset zd ;设置循环次数 标号(zd1-zd)之间的数据量
cld ;递增
rep movsb ;开始循环
mov ax,0
mov es,ax
mov word ptr es:[7ch*4],200h ;中断类型码...
code segment
ok:mov ax,cs
mov ds,ax
mov si,offset zd ;中断例程地址
mov ax,0
mov es,ax
mov di,200H ;设置中断例程的目标地址
mov cx,offset zd1-offset zd ;设置循环次数 标号(zd1-zd)之间的数据量
cld ;递增
rep movsb ;开始循环
mov ax,0
mov es,ax
mov word ptr es:[7ch*4],200h ;中断类型码...
阅读全文 |
评论次数(0) |
浏览次数(529) |
所属类型(实验)
[2011-04-28 16:20] 实验 13(1)
assume cs:code
code segment
start:
mov ax,cs
mov ds,ax
mov si,offset s1
mov ax,0
mov es,ax
mov di,200h
mov cx,offset s4-offset s1
cld
rep movsb ;//传送中断例程
mov ax,0
mov es,ax
mov word ptr es:[7ch*4],200h
mov word ptr...
code segment
start:
mov ax,cs
mov ds,ax
mov si,offset s1
mov ax,0
mov es,ax
mov di,200h
mov cx,offset s4-offset s1
cld
rep movsb ;//传送中断例程
mov ax,0
mov es,ax
mov word ptr es:[7ch*4],200h
mov word ptr...
阅读全文 |
评论次数(0) |
浏览次数(495) |
所属类型(实验)
[2011-04-27 20:03] 检测点 13.1
============================调用中断例程
assume cs:code
data segment
db 'conversation',0
data ends
code segment
start:mov ax,data
mov ds,ax
mov si,0
mov ax,0b800h
mov es,ax
mov di,12*160
s:cmp btye ptr [si],0
je ok
mov al,[si]
mov es:[d...
assume cs:code
data segment
db 'conversation',0
data ends
code segment
start:mov ax,data
mov ds,ax
mov si,0
mov ax,0b800h
mov es,ax
mov di,12*160
s:cmp btye ptr [si],0
je ok
mov al,[si]
mov es:[d...
阅读全文 |
评论次数(0) |
浏览次数(480) |
所属类型(检测点)
[2011-04-27 14:41] 实验12
assume cs:code
code segment
start: mov ax,cs
mov ds,ax
mov si,offset s //取S的地址
mov ax,0
mov es,ax
mov di,200h
mov cx,offset s3-offset s//取循环次数
cld
rep movsb //将中断程序赋予到0:200
mov ax,0
mov es,ax
mov ...
code segment
start: mov ax,cs
mov ds,ax
mov si,offset s //取S的地址
mov ax,0
mov es,ax
mov di,200h
mov cx,offset s3-offset s//取循环次数
cld
rep movsb //将中断程序赋予到0:200
mov ax,0
mov es,ax
mov ...
阅读全文 |
评论次数(0) |
浏览次数(560) |
所属类型(实验)
[2011-04-27 12:17] 检测点 12.1
(1) 0070:018b
(2)(n*4) (n*4)+2
例:
0000:0000 68 10 A7 00 8B 01 70 00-16 00 9D 03 8B 01 70 00
N=3 偏移地址就是(3*4)=12BYTE
N=3 段地址就是(3*4)+2=14BYTE
================================
汇编讨论群:25617704
欢迎大家进入,讨论,学习
共同努力
================================...
(2)(n*4) (n*4)+2
例:
0000:0000 68 10 A7 00 8B 01 70 00-16 00 9D 03 8B 01 70 00
N=3 偏移地址就是(3*4)=12BYTE
N=3 段地址就是(3*4)+2=14BYTE
================================
汇编讨论群:25617704
欢迎大家进入,讨论,学习
共同努力
================================...
阅读全文 |
评论次数(0) |
浏览次数(577) |
所属类型(检测点)
[2011-04-26 22:15] 实验 11
assume cs:Code
data segment
db 'Beginner"s All-purpose Symbolic Instruction Code.',0
data ends
code segment
start:mov ax,data
mov ds,ax
mov si,0
call letterc
mov ax,4c00h
int 21h
letterc:mov ah,'a'
mov al,'z' //设置 最小和最大的值
mov cx,ds:[...
data segment
db 'Beginner"s All-purpose Symbolic Instruction Code.',0
data ends
code segment
start:mov ax,data
mov ds,ax
mov si,0
call letterc
mov ax,4c00h
int 21h
letterc:mov ah,'a'
mov al,'z' //设置 最小和最大的值
mov cx,ds:[...
阅读全文 |
评论次数(0) |
浏览次数(499) |
所属类型(实验)
[2011-04-25 22:15] 课程设计1
assume cs:Code
data segment
db '1975','1976','1977','1978','1979','1980','1981'
db '1982','1983','1984','1985','1986','1987','1988'
db '1989','1990','1991','1992','1993','1994','1995'
dd 16,22,382,1356,2390,8000,16000,24486,50065,97479
dd 140417,197514,345980,590827...
data segment
db '1975','1976','1977','1978','1979','1980','1981'
db '1982','1983','1984','1985','1986','1987','1988'
db '1989','1990','1991','1992','1993','1994','1995'
dd 16,22,382,1356,2390,8000,16000,24486,50065,97479
dd 140417,197514,345980,590827...
阅读全文 |
评论次数(0) |
浏览次数(536) |
所属类型(汇编作业)
[2011-04-16 21:08] 实验7
assume cs:Code
data segment
db '1975','1976','1977','1978','1979','1980','1981'
db '1982','1983','1984','1985','1986','1987','1988'
db '1989','1990','1991','1992','1993','1994','1995'
dd 16,22,382,1356,2390,8000,16000,24486,50065,97479
dd 140417,197514,345980,59082...
data segment
db '1975','1976','1977','1978','1979','1980','1981'
db '1982','1983','1984','1985','1986','1987','1988'
db '1989','1990','1991','1992','1993','1994','1995'
dd 16,22,382,1356,2390,8000,16000,24486,50065,97479
dd 140417,197514,345980,59082...
阅读全文 |
评论次数(0) |
浏览次数(540) |
所属类型(实验)
『 查看更多文章 』