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 That Initialize MemoryFigure 5–1. The .space Directive The .space directive reserves a specified number of bits in the currentsection. The assembler advances the SPC and skips the reserved words.When you use a label with .space, it points to the first word of the reservedblock.Figure 5–1 shows an example of the .space directives. Assume the followingcode has been assembled for this example:.ps 0a00h.word 100h, 200hRES_1: .space 30h ;Reserve 48 bits or 3 words.word 15Res_1 points to the first byte in the space reserved by .space.3 wordsreservedRes_1 = 0a02hAssembler Directives5-9

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

Saved successfully!

Ooh no, something went wrong!