int 7ch 小写转大写
assume cs:codecode segment
start:
MOV AX,CS
MOV DS,AX
MOV AX,0
MOV ES,AX
MOV SI,offset do0
MOV DI,200h
MOV CX,offset jies-offset do0
CLD
REP movsb
MOV AX,0
MOV DS,AX
MOV WORD ptr DS:,0
MOV WORD ptr DS:,200h
MOV AX,4c00h
INT 21h
do0:
PUSH SI
PUSH CX
PUSH AX
s:MOV AL,
MOV CH,0
MOV CL,AL
JCXZ s1
CMP CL,61h
JB ok
CMP CL,7ah
JA ok
AND AL,1011111b
MOV ,AL
MOV ES:,AL
MOV BYTE ptr ES:,7
ADD DI,2
ok:
INC SI
jmp s
s1:
POP AX
POP CX
POP si
IRET
jies:nop
code ends
end startassume cs:code,DS:data
data segment
DB "abcdefg",0;
data ends
code segment
start:
MOV AX,data
MOV DS,AX
MOV SI,0
MOV AX,0b800h
MOV ES,AX
MOV DI,0
INT 7ch
mov ax,4c00h
int 21h
code ends
end start
楼主继续加油!! 15岁的小朋友 发表于 2014-6-1 16:30 static/image/common/back.gif
楼主继续加油!!
嗯嗯,快接近尾声了。 xiaosawanjava 发表于 2014-6-1 16:43
嗯嗯,快接近尾声了。
后面几章比较乏味 坚持
页:
[1]