さて、私はこのコードを持っています
SortScore PROC
call clrscr
mov ecx, LENGTHOF studentsAverage
dec ecx
L1: push ecx
mov esi, OFFSET studentsAverage
L2: mov eax,[esi]
cmp [esi+4],eax
jge L3 ;jump to L3 if greater
xchg eax,[esi+4] ;exchange values
mov [esi],eax ;
L3: add esi,4 ;move to next value
loop L2 ;go back to L2
pop ecx ;bring back the ecx
loop L1 ;go back to L1
L4: ret
値を表示するように変更する方法を知る必要があるだけです。