LMAETC12

LMAETC12 - 137 CHAPTER 1 This chapter describes the...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 137 CHAPTER 1 This chapter describes the CodeView Command-window command format, explains the common items in CodeView expressions, and summarizes all Command-window commands in a convenient table. The final section describes each command in detail. The nonalphabetic commands appear at the end of the chapter. Command-Window Command Format command [[ arguments ]] [[ ; command [[ arguments ]] ]] command \z "REFERW.DOC-1002" \z "REFERW.DOC-1003" \z "REFERW.DOC-1004" \z "REFERW.DOC-1005" \z "REFERW.DOC- 1006" A command name. The command is not case sensitive; any combination of uppercase and lowercase letters can be used. arguments Expressions that represent values or addresses used by the command. Source-level expressions used as arguments may or may not be case sensitive, depending on the current expression evaluator. The first argument can be placed immediately after command with no space separating the two fields. If a command takes more than one argument, you must separate the arguments with spaces. Additional commands may be specified on the same line. A semicolon ( ; ) must separate each command from the next. CodeView Expression Reference When debugging, you use a few common elements in arguments to CodeView commands that are independent of the source language or the current expression evaluator. You often refer to line numbers in source files and, less often, to lines in text files. You also specify registers and addresses. Some CodeView commands such as Memory Fill ( MF ) accept address ranges. Syntax Parameters Filename: 36deb95a9d6f06819c8275c7f26355708a9a85a1.DOC Project: Template: Author: Last Saved By: Revision #: 0 Page: 137 of 90 Printed: 10/27/92 14:14 A10/P10 Environment and Tools This section presents the ways to specify line numbers, refer to objects in memory, and use values stored in the processor registers. It also describes the syntax for memory ranges. Moreover, the context operator, which you use to specify the point at which to begin searching for a symbol, is summarized. For detailed information on the context operator and CodeView expressions, see Chapter 11. Line Numbers [[ context ]]@ linenumber [[ context ]] . linenumber \z "REFERW.DOC-1007" \z "REFERW.DOC-1008" \z "REFERW.DOC-1009" \z "REFERW.DOC-1010" \z "REFERW.DOC- 1011" Line numbers are useful for source-level debugging. They correspond to the lines in source-code files. In source mode, a program is displayed with each line numbered sequentially. The CodeView debugger allows you to use these numbers to access parts of a program. The memory address of the code corresponding to a source-line number is specified as: @ linenumber The actual file line number is: [[ context ]] . linenumber CodeView assumes that the source line is in the current source file. To specify a source line in a different file, you must specify the line’s context using the context operator: {, file } @ linenumber CodeView displays an error message if file does not exist or no source line exists...
View Full Document

This note was uploaded on 01/24/2012 for the course EE 3751 taught by Professor Desouza during the Spring '04 term at LSU.

Page1 / 90

LMAETC12 - 137 CHAPTER 1 This chapter describes the...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online