11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

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.

Macro AssemblerHI-TECH C Assembly LanguageTable 4.2: ASDSPICstatement formatsFormat 1 label:Format 2 label: mnemonic operands ; commentFormat 3 name pseudo-op operands ; commentFormat 4 ; comment onlyFormat 5 If the assembly file is first processed by the C preprocessor, see Section 2.4.12, then it may alsocontain lines that form valid preprocessor directives. See Section 3.12.1 for more information on theformat for these directives.There is no limitation on what column or part of the line in which any part of the statementshould appear.4.3.2 CharactersThe character set used is standard 7 bit ASCII. Alphabetic case is significant for identifiers, but notmnemonics and reserved words. Tabs are treated as equivalent to spaces.4.3.2.1 DelimitersAll numbers and identifiers must be delimited by white space, non-alphanumeric characters or theend of a line.4.3.2.2 Special CharactersThere are a few characters that are special in certain contexts. Within a macro body, the character & isused for token concatenation. To use the bitwise & operator within a macro body, escape it by using&& instead. In a macro argument list, the angle brackets < and > are used to quote macro arguments.4.3.3 CommentsAn assembly comment is initiated with a semicolon that is not part of a string or character constant.If the assembly file is first processed by the C preprocessor, see Section 2.4.12, then it may alsocontain C or C++ style comments using the standard /* ... */ and // syntax.69

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

Saved successfully!

Ooh no, something went wrong!