I am writing a program in assembly lc3 and although I know how to read a letter which is stored in the memory I don't know how to overwrite this letter with another one. I don't want to do it using .STRINGZ because then an extra "0" will be added after the letter and I will lose my word. You see I am reading a word, letter by letter and I want to replace the letters, letter by letter.
thank you ;)
The best command to use would be the STR command:
STR is the best for storing characters of a string because you can increment the value stored in R2 to store each char one after another.