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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Directives Reference.word / .intSyntax .word value 1 [, ... , value n ].int value 1 [, ... , value n ]DescriptionThe .int and .word directives place one or more 16-bit values into consecutivewords in the current section.value must be absolute. You can use as many values as fit on a single line(80 characters). If you use a label, it must point to the first initialized word.Example 1Example 2This example shows how to use the .word directive to initialize words. Thesymbol WordX points to the first reserved word.00001 –––– fe00 .ds 0fe00h00002 fe00 0c80 WordX: .word 3200,0ffh,3fe01 00fffe02 000300003 –––– ––––00004 –––– ––––Here’s an example of the .int directive.00005 –––– ff00 .ds 0ff00h00006 ff00 0000 LAB1 .int 0,–1,2,0ABCDhff01 ffffff02 0002ff03 abcd>>>>> FINISHED READING ALL FILES>>>>> ASSEMBLY COMPLETE: ERRORS:0 WARNINGS:0Assembler Directives5-33

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

Saved successfully!

Ooh no, something went wrong!