[[context]][[symbol]]
The context is the context operator and specifies the point at which to begin searching for symbol. If context is omitted, the current location is used. The symbol is a label, variable, or function name.
[[context]][[@linenumber]]
The linenumber is the number of a line in the specified file. If context is omitted, CodeView assumes the current file. Line numbers start at 1.
[[segment:]]offset
A full address is a segment and an offset, separated by a colon. The segment and offset can be numeric expressions, symbols, or register names. A partial address has only an offset; CodeView assumes a default segment address, depending on the command. Commands that refer to data (Memory Dump, Memory Enter, for example) assume the value of the data segment (DS) register. Commands that refer to code (such as Assemble, Breakpoint Set, and Go) assume the value of the code segment (CS) register.
In source-level debugging, full segment:offset addresses are seldom necessary. Occasionally they may be convenient for referring to addresses outside the program, such as display memory.
Examples
In the following example, the Memory Dump Bytes (MDB) command dumps memory starting at offset address 100. Since no segment is given, the data segment (the default for Memory Dump commands) is assumed.
>MDB 100
In the following example, the MDB command dumps memory starting at the address of the element array[COUNT].
>MDB array[count]
In the following example, the Unassemble (U) command shows a disassembly of memory starting at a point 10 bytes beyond the symbol label.
>U label+10
In this example, the MDB command dumps memory at the address having the segment value in the ES register and the offset address 200 in the current radix.
>MDB ES:200