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.

Creating DSK Assembler Source FilesUsing the mnemonic fieldThe mnemonic field follows the label field. The mnemonic field must not startin column 1 or it will be interpreted as a label. The mnemonic field can containone of the following opcodes: Machine-instruction mnemonic (such as ADD, MPY, POP) Assembler directive (such as .data, .set, .entry)If you have a label in the first column, a space, colon, or tab must separate themnemonic field (opcode) from the label. For example:.ps 0a00h ; Your code can start here.entrySTART: mar *,AR0lar AR0,#0lacl #03fh ; Turn on all interruptsldp #0Refer to your <strong>TMS320C5x</strong> User’s Guide for syntax specifications on individualopcodes.4-4

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

Saved successfully!

Ooh no, something went wrong!