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.

.text / .psDirectives ReferenceExampleThis example shows code assembled into the .text and .data sections. The .datasection contains integer constants, and the .text section contains characterstrings.00001 –––– –––– *********************************00002 –––– –––– * Begin assembling into .data *00003 –––– –––– *********************************00004 –––– fb00 .ds 0fb00h00005 fb00 0005 .byte 5,6fb01 000600006 –––– –––– *********************************00007 –––– –––– * Begin assembling into .ps *00008 –––– –––– *********************************00009 –––– 7000 .ps 7000h00010 7000 0001 .byte 100011 7001 0002 .byte 2,37002 000300012 –––– –––– *********************************00013 –––– –––– * Begin assembling into .data *00014 –––– –––– *********************************00015 –––– –––– .data00016 fb02 0007 .byte 7,8fb03 000800017 –––– –––– *********************************00018 –––– –––– * Begin assembling into .ps *00019 –––– –––– *********************************00020 –––– –––– .ps00021 7003 0004 .byte 4>>>>> FINISHED READING ALL FILES>>>>> ASSEMBLY COMPLETE: ERRORS:0 WARNINGS:05-32

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

Saved successfully!

Ooh no, something went wrong!