13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User 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.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>.SETSyntaxsymbol .SET expressionDescription.SET symbol expressionWith the .SET directive you assign the value of expression to symbol temporarily. If a symbol was definedwith the .SET directive, you can redefine that symbol in another part of the assembly source, using the.SET directive again. Symbols that you define with the .SET directive are always local: you cannot definethe symbol global with the .GLOBAL directive.The .SET directive is useful in establishing temporary or reusable counters within macros. expressionmust be absolute and cannot include a symbol that is not yet defined (no <strong>for</strong>ward references are allowed).ExampleCOUNT .SET 0; Initialize count. Later on you can; assign other values to the symbolRelated In<strong>for</strong>mation.EQU (Set permanent value to a symbol)130

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

Saved successfully!

Ooh no, something went wrong!