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.

Directives Reference.longSyntax .long value 1 [, ... , value n ]DescriptionThe .long directive places one or more 32-bit values into consecutive wordsof the current section. value can be either: An expression that the assembler evaluates and treats as a 32-bit signednumber, or A character string enclosed in double quotes. Each character in a stringrepresents a separate value.If you use a label, it points to the location at which the assembler places thefirst byte.ExampleThis example shows several 32-bit values placed into consecutive bytes inmemory. The label strx has the value 0FB00h, which is the location of the firstinitialized byte.00001 –––– fb00 .ps 0fb00h ;00002 fb00 2710 strx: .long 10000,”String”,”A”fb01 0000fb02 0053fb03 0000fb04 0074fb05 0000fb06 0072fb07 0000fb08 0069fb09 0000fb0a 006afb0b 0000fb0c 0067fb0d 0000fb0e 0041fb0f 0000>>>>> FINISHED READING ALL FILES>>>>> ASSEMBLY COMPLETE: ERRORS:0 WARNINGS:0Assembler Directives5-23

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

Saved successfully!

Ooh no, something went wrong!