下面的程序的功能是什么?
X DW 234,123,3,56, .. ..
MOV AX,SEG X
MOV DX,AX LEA
SI,X MOV CX ,100
MOV BX, DS:[SI]
AB1:LODSW
CMP AX,BX
JL NEXT
XCHG AX,BX
NEXT:LOOP AB1
MOV AX,BX
X DW 234,123,3,56, .. ..
MOV AX,SEG X
MOV DX,AX LEA
SI,X MOV CX ,100
MOV BX, DS:[SI]
AB1:LODSW
CMP AX,BX
JL NEXT
XCHG AX,BX
NEXT:LOOP AB1
MOV AX,BX