BX , VAR +4 JAE S3 JMP S4 T1 : MOV AX , VAR +2 CMP AX , VAR +4 JAE T2 MOV BX , VAR CMP BX , VAR +4 JAE T3 JMP T4 S2 : MOV AX , VAR +4 MOV BX , VAR MOV CX , VAR +2 JMP FIN S3 : MOV AX , VAR MOV BX , VAR +4 MOV CX , VAR +2 JMP FIN S4 : MOV AX , VAR MOV BX , VAR +2 MOV CX , VAR +4 JMP FIN T2 : MOV AX , VAR +4 MOV BX , VAR +2 MOV CX , VAR JMP FIN T3 : MOV AX , VAR +2 MOV BX , VAR +4 MOV CX , VAR JMP FIN T4 : MOV AX , VAR +2 MOV BX , VAR MOV CX , VAR +4 JMP FIN FIN : MOV AH , 4CH INT 21H CODE ENDS END START <2> 三个有符号数的递减排序: STACK SEGMENT STACK STACK ENDS DATA SEGMENT VAR DW - 2500 ,- 1000 ,- 4500 DATA ENDS CODE SEGMENT ASSUME CS : CODE , DS : DATA , SS : STACK START : MOV AX , DATA MOV DS , AX MOV AX , VAR CMP AX , VAR +2 JGE S1 JMP T1 S1 : CMP AX , VAR +4 JLE S2 MOV BX , VAR +2 CMP BX , VAR +4