Within Assembly like C/C++ you store strings as one continuous sequence of bytes in memory, well sometimes this isn’t always the case. In addition to changing the value in AX between executions of STOSW, you can change the destination address as well. The end result of this is that you are able to store data into several different areas of memory inside a very tight single loop. (more…)