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.

Chapter 4Macro AssemblerThe Macro Assembler included with HI-TECH <strong>dsPIC</strong>C assembles source files for <strong>dsPIC</strong> MCUs.This chapter describes the usage of the assembler and the directives (assembler pseudo-ops andcontrols) accepted by the assembler in the source files.The HI-TECH C Macro Assembler package includes a linker, librarian, cross reference generatorand an object code converter.•Athough the term “assembler” is almost universally used to decribe the tool which convertshuman-readable mnemonics into machine code, both “assembler” and “assembly”are used to describe the source code which such a tool reads. The latter is more commonand is used in this manual to describe the language. Thus you will see the termsassembly language, assembly listing and assembly instruction, but assembler optionsand assembler directive.4.1 Assembler UsageThe assembler is called ASDSPIC and is available to run on Windows and UNIX machines. Notethat the assembler will not produce any messages unless there are errors or warnings — there are no“assembly completed” messages.Typically the command-line driver, HTKC, is used to envoke the assembler as it can be passedassembler source files as input, however the optiona are supplied here for instances where the as-65

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

Saved successfully!

Ooh no, something went wrong!