No we can't.
How far have you reached and where are you stuck ??
Show us some code and we will help you advance. We can't do the whole thing for you.
Well, to help you get started, here is a MASM code sort an array of
len DWORDS :
Code: asm
bs proc array:DWORD,len:DWORD
mov ecx,len
mov edx,array
bs_o:
xor ebp,ebp
bs_i:
mov eax,DWORD PTR [edx+ebp*4+4]
cmp DWORD PTR [edx+ebp*4],eax
jb @F
xchg eax,DWORD PTR [edx+ebp*4]
mov DWORD PTR [edx+ebp*4+4],eax
@@:
add ebp,1
cmp ebp,ecx
jb bs_i
loop bs_o
pop ebp
retn 8
bs endp