I have an assignment which a user enters a string (below 101 char) and the machine removes all non-letter elements (numbers, symbols etc.) using the ASCII character table, this is what i have so far. I don't know how to remove an element from an array, any help? Thank you!
push esi
call option5
remNum:
mov al, byte ptr [edx + esi]
cmp al, 41h
ja ongoing
cmp al, 5Ah
jb ongoing
cmp al, 61h
ja ongoing
cmp al, 7Ah
jb ongoing
mov al, 20h
mov byte ptr [edx+esi], al
ongoing:
inc esi
Loop remNum
pop esi
call option5
call waitmsg
ret
option3 ENDP