21,497
社区成员




assume cs:code
code segment
start:
push cs
pop ds
mov ax,0
mov es,ax
mov si,int7c
mov di,200h
mov cx,offset int7cend - offset int7c
cld
rep movsb
mov ES:[7ch*4],word ptr 200h
mov ES:[7ch*4+2],word ptr 0h
mov ax,4c00h
int 21h
int7c:
jmp short s
table dw cls
s:
push ax
push bx
push cx
push es
mov bl,al
mov bh,0
call table[bx] //这里跳转会到一个不知道为什么的地方,我这是哪里有错了跪求大佬指教
pop es
pop cx
pop bx
pop ax
iret
cls:
mov ax,0b800h
mov es,ax
mov bx,0
mov cx,2000
s1: mov es:[bx],byte ptr 20h
inc bx
mov es:[bx],byte ptr 0
inc bx
loop s1
ret
int7cend: nop
code ends
end start
assume cs:code
code segment
start:
mov al,0
int 7ch
mov ax,4c00h
int 21h
code ends
end start