求大神帮忙修改一下感激不尽
data segmenta db 0,1,2,3,4,5,6,7,8,9
max db ?
data ends
stack segment
db 20 dup(0)
stack ends
codeage segment
assume cs:codeage,ds:data,ss:stack
start:mov ax,data
mov ds,ax
mov ax,stack
mov ss,ax
mov sp,20h
mov cx,10
mov si,0
mov al,
mov max,al
s0:
mov al,
cmp al,max
jb s1
mov max,al
s1:inc si
loop s0
mov ax,4c00h
int 21h
codeage ends
end start
我想在屏幕上显示出来max的值试过21号中断的02号子程序显示但是没反应求大神指点
页:
[1]