asdf
twet
set apointer to start of ascii, mpointer to start of morse. while apointer not at end of ascii: get translation from lookuptable, using the character at apointer. if length of translation is greater than morse_size: return an error. store translation to mpointer. add 1 to apointer. add length of translation to mpointer. subtract length of translation from morse_size. if morse_size is zero: return an error. store string terminator to mpointer.