没试过能不能读写大文件,所以还是用笨办法:- @echo off
- more +4 %0|debug t.com
- t.com<1.txt
- pause&exit
-
- a
- mov cl,10
- mov ah,8
- ;skip:
- int 21
- loop 104
- mov cx,ff0
- ;getch:
- mov ah,8
- int 21
- mov ah,2
- mov dl,al
- int 21
- mov ah,b
- int 21
- cmp al,0
- jz 11f
- loop 10b
- ;end:
- int 20
-
- rcx
- 121
- w
- q
复制代码
|