13.07.2015 Views

TMS320C5x DSP STARTER KIT USER'S GUIDE

TMS320C5x DSP STARTER KIT USER'S GUIDE

TMS320C5x DSP STARTER KIT USER'S GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Miscellaneous Directives5.6 Miscellaneous DirectivesThis section discusses miscellaneous directives. The .end directive terminates assembly. It should be the last source statementof a program. This directive has the same effect as an end-of-file character. The .listoff directive overrides the –l option and prohibits source listing. The .liston directive begins source listing. The .mmregs directive defines symbolic names for the memory-mappedregister. Using .mmregs is the same as executing a .set for all memorymappedregisters—for example, greg .set 4—and makes it unnecessaryto define these symbols. See Table 5–2, page 5-25, for a list of memorymappedregisters. The .set directive equates meaningful symbol names to constant valuesor strings. The symbol is stored in the symbol table and cannot beredefined; for example:bval .set 0100h.byte bvalB bval5-10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!