Hardware Reference
In-Depth Information
Figure 3.9 Setting tools option for MiniIDE
3.5.3 Using the D-Bug12 Commands
The D-Bug12 commands are provided to help the program-debugging process. Some of these
commands can be used to set and display the contents of memory locations. In this section, char-
acter strings entered by the user are in boldface and optional fields are enclosed in brackets [ ].
In the following section, the syntax of a command is presented and then examples are given.
bf * StartAddress + * EndAddress . [ * Data + ]
The bf command is used to fill a block of memory locations with the same value. For exam-
ple, the following command clears the internal memory locations from $1000 to $10FF to zero:
+ bf 1000 1FFF 0
The data field is optional. If we did not specify the data to be filled in, then zero would be
entered in the specified memory locations.
md * StartAddress + [ * EndAddress + ]
The md ( memory display ) command is used to display memory contents. This command
displays memory contents as both hexadecimal bytes and ASCII characters, 16 bytes on each
line. The , StartAddress . parameter must be supplied; the , EndAddress . parameter is op-
tional. When the ,EndAddress. parameter is not specified, a single line is displayed.
 
Search WWH ::




Custom Search