Memory alteration MWB a1 [n1] [n2] [n3] .... MWW a1 [n1] [n2] [n3] .... MWL a1 [n1] [n2] [n3] .... Mnemonic: Memory Write (Byte, Word, Long) These commands write byte, word and long sized numbers into memory starting at address ‘a1’. If any of the numbers n1, n2, etc. are entered then this data is sequentially written into memory starting at a1, with the correct data size. No read is performed upon the addresses which are written to. If none of the optional numbers are supplied then the user enters a prompted input mode. The current address and the value of the byte,word or long at that address is printed out and you may do one of the following things: 1.
Type in a new value to be written at this address 2. Press to go on to the next address 3. Type ‘ r ’ followed by to go back to the previous address 4. Type ‘ . ’ followed by to quit from prompted input mode Enter Enter Enter Putting ASCII strings in memory MWA a1 [string] MWAZ a1 [string] Mnemonic: Memory Write Ascii (Zero) These commands write an ASCII string into memory starting at address ‘a1’. The MWAZcommand appends a null (zero byte) tothe end of the string. If theoptional string is supplied then the string is simply written into memory. If the string is omitted then the user enters a prompted mode of input where the current address is displayed and strings are typed in.
In this mode the following things may be done: 1. Type in a new string to go at this address 2. Press to go on to the next address 3. Type ‘ r ’ followed by to go back to the previous address 4. Type ‘ . ’ followed by to quit from prompted ASCII input mode In both forms of these commands only a single string may be entered at a time. If your strings have spaces or tabs they must be surrounded by double quotes. For example, the command Enter Enter Enter MWAZ 8000 "Test string " writes that string, null terminated, into memory at address $8000. Page 78 User Tutorial Manual 1616/OS Commands