- [游客] 如果不加ds:就是相当于一下的语句 mov al,16 mov al,17 mov al,18 10/31 00:12
- [chinatree] 编译器不错,支持@@了。当然程序也不错。 10/15 01:48
- [hitlerdsaf] 中间跳转的时候二级跳了,提示jump out of range ,我晕倒。二级跳显得非常不好看。唉 10/12 18:40
- [chinatree] 作业类型有编辑文章的功能,你可以修改下。 09/30 20:15
- [hitlerdsaf] 6、1 1 2 2 4 7、512 256 第6、7题答案更正 09/30 17:28
- [hitlerdsaf] MOV AL 02H ADD AL, AL ADD AL, AL ADD AL, AL 09/29 15:26
- [chinatree] 全对。 09/29 15:23
[2011-10-18 09:03] 实验十五松开A显示满屏幕A
assume cs:codesg
stacksg segment
db 128 dup (0)
stacksg ends
codesg segment
start:
mov ax, stacksg
mov ss, ax
mov sp, 128
push cs
pop ds
mov ax, 0
mov es, ax
mov si, offset int9
mov di, 204h
mov cx, offset int9end-offse...
stacksg segment
db 128 dup (0)
stacksg ends
codesg segment
start:
mov ax, stacksg
mov ss, ax
mov sp, 128
push cs
pop ds
mov ax, 0
mov es, ax
mov si, offset int9
mov di, 204h
mov cx, offset int9end-offse...
阅读全文 |
评论次数(0) |
浏览次数(314) |
所属类型(汇编作业)
[2011-10-14 15:52] 实验十四:显示ROM中的时间<y/m/d h:m:s>
assume cs:codesg
datasg segment
db 6 dup (0)
db 'xx/xx/xx xx:xx:xx',24h
datasg ends
stacksg segment
dw 10 dup (0)
stacksg ends
codesg segment
start:
mov ax,datasg
mov ds,ax
mov ax, stacksg
mov ss, ax
mov sp, 20
...
datasg segment
db 6 dup (0)
db 'xx/xx/xx xx:xx:xx',24h
datasg ends
stacksg segment
dw 10 dup (0)
stacksg ends
codesg segment
start:
mov ax,datasg
mov ds,ax
mov ax, stacksg
mov ss, ax
mov sp, 20
...
阅读全文 |
评论次数(1) |
浏览次数(360) |
所属类型(汇编作业)
[2011-10-14 12:17] 实验十二
assume cs:codesg, ds:datasg
datasg segment
datasg ends
codesg segment
start:
mov ax, datasg
mov ds, ax
mov si, offset do0
mov ax, 0
mov es, ax
mov di, 200h
mov cx, offset do0end - offset do0
cld
rep m...
datasg segment
datasg ends
codesg segment
start:
mov ax, datasg
mov ds, ax
mov si, offset do0
mov ax, 0
mov es, ax
mov di, 200h
mov cx, offset do0end - offset do0
cld
rep m...
阅读全文 |
评论次数(0) |
浏览次数(311) |
所属类型(汇编作业)
[2011-10-14 10:29] 实验十一
assume cs:codesg, ds:datasg
datasg segment
db "Beginner's All-purpose Symbolic Instruction Code.",0
datasg ends
codesg segment
start:
mov ax, datasg
mov ds, ax
mov ax, 0B800h
mov es, ax
mov si,0
mov dh, 4
mov dl, 0
...
datasg segment
db "Beginner's All-purpose Symbolic Instruction Code.",0
datasg ends
codesg segment
start:
mov ax, datasg
mov ds, ax
mov ax, 0B800h
mov es, ax
mov si,0
mov dh, 4
mov dl, 0
...
阅读全文 |
评论次数(0) |
浏览次数(309) |
所属类型(汇编作业)
[2011-10-12 16:28] 课程设计1
assume cs:codesg
data segment
db '1975', '1976', '1977', '1978', '1979', '1980', '1981', '1982', '1983'
db '1984', '1985', '1986', '1987', '1988', '1989', '1990', '1991', '1992'
db '1993', '1993', '1995'
dd 16, 22, 382, 1356, 2390, 8000, 16000, 24486, 5...
data segment
db '1975', '1976', '1977', '1978', '1979', '1980', '1981', '1982', '1983'
db '1984', '1985', '1986', '1987', '1988', '1989', '1990', '1991', '1992'
db '1993', '1993', '1995'
dd 16, 22, 382, 1356, 2390, 8000, 16000, 24486, 5...
阅读全文 |
评论次数(1) |
浏览次数(404) |
所属类型(汇编作业)
[2011-10-12 14:07] 实验10-1/2/3
assume cs:codesg,ss:stacksg,ds:datasg
datasg segment
;string
db 'My name is YangKunLong.', 0
;160--the bytes per line, help to calculate -----and color for display
db 160,00000101B
;start at ds:[26], to storage the temp variable of the divdw.
dw 8 dup (0)
;start at ds...
datasg segment
;string
db 'My name is YangKunLong.', 0
;160--the bytes per line, help to calculate -----and color for display
db 160,00000101B
;start at ds:[26], to storage the temp variable of the divdw.
dw 8 dup (0)
;start at ds...
阅读全文 |
评论次数(0) |
浏览次数(309) |
所属类型(汇编作业)
[2011-10-12 10:59] 第十章实验1和2
assume cs:codesg
datasg segment
;string
db 'My name is YangKunLong.', 0
;160--the bytes per line, help to calculate -----and color for display
db 160,01000010B
;start at ds:[26], to storage the temp variable of the divdw.
dw 8 dup (0)
datasg ends
stacksg segment
d...
datasg segment
;string
db 'My name is YangKunLong.', 0
;160--the bytes per line, help to calculate -----and color for display
db 160,01000010B
;start at ds:[26], to storage the temp variable of the divdw.
dw 8 dup (0)
datasg ends
stacksg segment
d...
阅读全文 |
评论次数(0) |
浏览次数(373) |
所属类型(汇编作业)
[2011-10-11 16:26] 检测点10-4
题目应该实现了将栈顶移动到ax的目的
那么ax的值应该时是刚刚压入的2...
那么ax的值应该时是刚刚压入的2...
阅读全文 |
评论次数(0) |
浏览次数(317) |
所属类型(汇编作业)
[2011-10-11 16:20] 检测点10-3
压入顺序是先CS,后IP所以先弹出IP 3 然后才是CS 1000
故ax =3 bx = 1000
则结果为1006...
故ax =3 bx = 1000
则结果为1006...
阅读全文 |
评论次数(0) |
浏览次数(334) |
所属类型(汇编作业)
[2011-10-11 16:17] 检测点10-2
弹出的地址为调用函数时压入的IP地址
那么ax应该为3...
那么ax应该为3...
阅读全文 |
评论次数(0) |
浏览次数(312) |
所属类型(汇编作业)
『 查看更多文章 』