Hello, I am student working on a school assignment using the Keil IDE and fresh to learning assembly. I am tasked with removing multiple occurrences of a certain word in a character array (more details in the pdf attachment). I have am using the flowchart attached as a guideline and seem to be stuck with the code in the image I have provided. My code seems to be iterating through the loop and increment my counter without exiting.
assignment_04_2020_W.pdf
Ronan Synnott said:If you use the register view in the debugger as you step through the code you will see this.
If you use the register view in the debugger as you step through the code you will see this.
Actually, you should be able to see that by just stepping through the code with pencil & paper - you don't even need to build or run it!
This is a good practice anyhow - to check that you have written your code correctly.