- [titanlxf] 谢谢指正,在code ends之前少了两句: mov ax,4c00h int 07/06 18:10
- [lwbfq] 博主的程序在XP下的cmd下运行还有问题。 07/05 20:18
- [tomato] 加油!^V^ 07/01 09:08
- [titanlxf] 谢谢,我说怎么编译的时候出现了1个error,昨晚时间仓促就没仔细去查看,应该再精简改正一下。 06/27 15:58
- [starrynight] 程序编译报错 XX.ASM(44): warning A4016: Reserved word u 06/27 08:56
- [younggay] I can not see your picture clearly ! but your pro 06/18 14:47
- [titanlxf] to sysnap: 你说的很对,应该把子函数设置的指令放在调用函数的上方,不但比较清晰,而 06/17 21:07
- [younggay] 不错!! 发现高手越来越多了。。 06/08 13:26
- [sysnap] 程序看了看,没有运行,思路没什么问题。博主可以自己把运行后的图片也抓上来,放到作业的前面,这样一下就 06/03 17:07
- [yuppy] 汇编学这么好...C不是问题了 ~~呵呵 06/01 18:28
[2008-07-04 19:56] ch16_test
assume cs:code,ds:data
data segment
s1 db 'displaying program','$'
s2 db '0:cls','$'
s3 db '1:set foreground color','$'
s4 db '2:set background color','$'
s5 db '3:roll a line to up','$'
s6 db 'please input the number:','$'
s7 db 'please select number for color...
data segment
s1 db 'displaying program','$'
s2 db '0:cls','$'
s3 db '1:set foreground color','$'
s4 db '2:set background color','$'
s5 db '3:roll a line to up','$'
s6 db 'please input the number:','$'
s7 db 'please select number for color...
阅读全文 |
评论次数(2) |
浏览次数(608) |
所属类型(汇编作业)
[2008-06-30 21:36] ch15_test
assume cs:code
stack segment
db 128 dup(0)
stack ends
code segment
s:db 'please input the word A:','$'
start:mov ax,stack
mov ss,ax
mov sp,128
push cs
pop ds
mov ax,0
mov es,a...
stack segment
db 128 dup(0)
stack ends
code segment
s:db 'please input the word A:','$'
start:mov ax,stack
mov ss,ax
mov sp,128
push cs
pop ds
mov ax,0
mov es,a...
阅读全文 |
评论次数(1) |
浏览次数(476) |
所属类型(汇编作业)
[2008-06-26 22:50] ch14 test--seems to be a bit gummy:)
assume cs:code
code segment
item: db 9,8,7,4,2,0
start:
mov ax,cs
mov ds,ax
mov cx,6
mov bx,10
mov si,offset item
s:call time
inc si
add bx,8
loop s
mov ax,4c00h
int 2...
code segment
item: db 9,8,7,4,2,0
start:
mov ax,cs
mov ds,ax
mov cx,6
mov bx,10
mov si,offset item
s:call time
inc si
add bx,8
loop s
mov ax,4c00h
int 2...
阅读全文 |
评论次数(2) |
浏览次数(528) |
所属类型(汇编作业)
[2008-06-17 20:54] Test 11 Sub program design
assume cs:codesg
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 di,0
mov bp,0
call letter...
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 di,0
mov bp,0
call letter...
阅读全文 |
评论次数(1) |
浏览次数(561) |
所属类型(汇编作业)
[2008-06-06 22:05] Chart 10 -class design
assume cs:codesg,ds:data
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
dd 97479,140417,197514,345980,5908...
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
dd 97479,140417,197514,345980,5908...
阅读全文 |
评论次数(1) |
浏览次数(556) |
所属类型(汇编作业)
[2008-06-02 19:42] Chart 10 -class design
assume cs:code, ds:data
data segment
db 'welcome to masm!',0
data ends
code segment
start:mov ah,0
int 16 ;use interrupt to let user input data
mov dh,al
mov dl,34
mov cl,7ch
mov ax,data
mov ds,ax
mov si,0...
data segment
db 'welcome to masm!',0
data ends
code segment
start:mov ah,0
int 16 ;use interrupt to let user input data
mov dh,al
mov dl,34
mov cl,7ch
mov ax,data
mov ds,ax
mov si,0...
阅读全文 |
评论次数(2) |
浏览次数(652) |
所属类型(汇编作业)