MAX: **
MIN :**
输出。
(用汇编语言写出程序)
程序如下:
data segment
max db ?
min db ?
block db 11h,22h,33h,44h,55h,66h,77h,88h,99h,54h
count equ $-block
data ends
code segment
assume ds:data, cs:code
start:mov ax,data
mov ds,ax
mov dx,offset block
mov al,[bx]
mov ah,[bx]
inc bx
mov cx,count-1
again:cmp al,[bx]
jae next1
mov al,[bx]
jmp next
next1:cmp ah,[bx]
jbe next
mov ah,[bx]
next: inc bx
dec cx
jnz again
mov max,al
mov min,ah
mov ah,02h
int 21h
mov ah,4ch
int 21h
ret
code ends
end start
哪位帮我运行一下,我怎么运行结果是一个不认识的符号???
如果有错误帮我改改,谢谢!!!!